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.
我正在使用一个UITabBar. 有TabBar2 个选项卡: Tab1:具有NavigationController根视图作为HomeViewController Tab2:具有AboutViewController并且在视图上有一个按钮
UITabBar
TabBar
NavigationController
HomeViewController
AboutViewController
当用户单击按钮(上AboutViewController)时,如何以编程方式重新加载并HomeViewController再次显示?
我在用着iOS6
iOS6
UITabBar 有一个方法[setSelectedIndex]
[setSelectedIndex]