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.
我有一个 UITableView 我也有标签:
当我单击一个单元格时,它会打开一个新的 viewControler,但我无法设置选项卡,我该怎么做?
提前谢谢你!
您可以使用此代码执行此操作...当您选择单元格时
[self.tabBarController setSelectedIndex:index];