我有一个应用程序,其中有一个activationView
. 激活应用程序后,我需要在选项卡中显示其余视图。我用谷歌搜索并发现要在 iPhone 中使用选项卡,该应用程序必须是Tab Bar Application
我的应用程序不符合我的要求的应用程序。实现选项卡的最佳方法是什么(在应用程序中的第二个视图上)?
编辑 1
我尝试过的代码
/* tabsController = [[Tabs alloc] init];
[self.window setRootViewController:tabsController];*/
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication]delegate]; appDelegate.window.rootViewController = tabsController;
我已经尝试了这些方法,但我得到了一个纯白色的视图。