I am developing an AppleWatch app using watchOS 2. I am trying to access the Interface.storyboard file in a controller.swift file. I tried following code:
let storyboard = UIStoryboard(name: "Interface", bundle: nil)
let interfaceController = storyboard.instantiateViewControllerWithIdentifier("InterfaceControllerPage") as! InterfaceController
But it gives me following error on first line - Use of unresolved identifier 'UIStoryboard'
So how do I access Storyboard in watchkit?
Basically I am trying to go back to initial view from the last view, so trying to follow the accepted answer at this link.
Thanks!