Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如 3 个视图控制器 A、B、C。我可以从 A 导航到 B 和 C。但是我的问题是如何通过按后退按钮直接从 C 导航到 A?
我相信你需要这个UINavigationController方法:
UINavigationController
-popToRootViewController动画: