Showing login view controller before main tab bar controller

后端 未结 1 700
执笔经年
执笔经年 2020-11-27 14:13

I\'m creating an iPad app with a tab bar controller that requires login. So on launch, I want to show a LoginViewController and if login is successful, then show the tab ba

相关标签:
1条回答
  • 2020-11-27 14:44

    I'd use the method to present the view controller modally instead of adding it to the window. That will make it properly retain the controller. The debugger message has to do with certain autorotation methods being implemented in your class. You can ignore it for now.

    0 讨论(0)
提交回复
热议问题