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.
我有一个标签栏控制器。从一个视图我想通过一个按钮转到另一个视图,我已经完成了。进入该页面后,我想使用导航栏返回。这就是问题。我如何让它回到标签栏控制器页面?谢谢垫
您可以按如下方式排列视图控制器:
Tab bar controller Navigation Controller View Controller 1 - button to go View Controller 2 using segue View Controller 2
因此,View Controller 2将有一个后退按钮转到其上一个视图控制器。
View Controller 2