login page and navigation bar
问题 When first launching the apps, I want it to show a button to log in. After successfully logged in, I want the app to show a tab bar view.. So does this mean that I need to set my app delegate to point to the UITabBarController? How can I do this? 回答1: I load my UITabBarController in the app delegate, so before adding the login screen the last bit of the applicationDidFinishLaunchingWithOptions looks like this: [window addSubview:tabcontroller.view]; [window makeKeyAndVisible]; To add a view