How can I dismiss unwanted pages of my two pages consisting interface controller after pushing a new interface over it? On Watchkit

好久不见. 提交于 2019-12-11 11:09:06

问题


I was trying to push an interface after clicking at one button of my two pages consisting rootController and got a weird result.

My requested controller (second image) gets pushed over my first page..but, the second page of my root controller is still there and I can segue into it.

I don't want this.

How can I dismiss all other pages of my several pages controller after pushing a new interface over it?.

Modal is not an option as I want to go deeper after pushing this controller.


回答1:


WatchKit does not support pushing an interface controller in a page-based navigation layout. As of Xcode beta 4, I understand that you won't see this strange behaviour as the interface simply will not be presented.



来源:https://stackoverflow.com/questions/28072896/how-can-i-dismiss-unwanted-pages-of-my-two-pages-consisting-interface-controller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!