How to unwind and jump directly to the destination View Controller

懵懂的女人 提交于 2019-12-12 04:08:37

问题


I have three View Controllers. VC1 is embedded in a UINavigationController and the other two are accessible via Push Segues, so they are on the Navigation Stack. I've created an Unwind Segue to jump back from VC3 to VC1. The issue is when the unwind segue is triggered, it pushes to VC2 and pushed to VC1. Although this happens quickly, I would prefer if it just went to VC1 directly. Is this possible?

来源:https://stackoverflow.com/questions/46054177/how-to-unwind-and-jump-directly-to-the-destination-view-controller

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