I am trying to programmatically move to a page with a page-based navigation, but this does not seems to be possible?
I have tried to use the pushControllerWithName:context:
, but it only works for hierarchical based navigation.
Any help is appreciated.
You can send post an NSNotificaton whenever you want to switch and have your desired InterfaceController as an observer for this notification. And inside the selector of the observer. call [self beconmeCurrentPage]
. It worked for me and i hope it works for you as well.
Quoted from a previous answer: Can you change the selected page in WatchKit PageView