阅读背景:

从我在swift中使用modal打开的viewController访问navigationController

来源:互联网 

i am using navigationController (push and pop) but in a special case i have to show the next viewcontroller using modal segue , and when i dismiss that modal i want to pop the last viewController in the navigationController and then push a new one to appear after dismissing the modal one , how can i access the navigationController that is full of viewControllers from a modal viewController i can send in the last element in navigationController as self in prepareForSegue for the modal but i am asking if there is another way , sorry my questions are always complicated i am using navigationController (push and pop)




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: