When bringing up a menu from a modal WKInterfaceController
presented from the rootController
via presentControllerWithName:context:
, the modal controller becomes the root controller:
<— Modal (see
Cancel
)
<— Menu
<— Root? (no
Cancel
)
Is this a WatchKit bug, or are modal controllers not meant to have menus?
"Solution"
Since this is a known bug, my temporary workaround was just to add a Cancel
button to the modal controller and use reloadRootControllersWithNames:contexts:
to present them as root. The Cancel
button reloads the root controller to my initial root controller.