How to unwind and jump directly to the destination

2019-09-16 08:20发布

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?

0条回答
登录 后发表回答