Launch Watch App into middle view
WKInterfaceController
's becomeCurrentPage()
should be what you're looking for.
Let's create a new class for the center view controller, CenterPageViewController
, and change its initWithContext:
method as follows
import WatchKit
class CenterPageViewController: WKInterfaceController {
override init(context: AnyObject?) {
super.init(context: context)
super.becomeCurrentPage()
}
}
Now let's set the Custom Class for the middle page in your storyboard to CenterPageViewController
and finally hit run.
You won't be able to get rid of the initial transition from the left page to the center page, but the app will finally begin on the middle page.