ios SWRevealViewController pop from rear to front

北慕城南 提交于 2019-12-11 03:13:44

问题


I have the following storyboard using SWRevealViewController.

The idea is I can navigate to a screen either from a homeVC which is a 'front' SWRevalVC or from the menuVC which is a 'rear' SWRevealVC.

When I get to 'MyAnotherVC' and tap on the back button, I want to always go to 'MYHomeVC'. However, if I have navigated there through 'MyMenyVC' there is currently no way to go to other view controller.

I guess this can easily be hacked in many ways, but I would like to know if there is a simple and efficient way of doing it.

来源:https://stackoverflow.com/questions/26655090/ios-swrevealviewcontroller-pop-from-rear-to-front

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