我越來越擅長使用xcode和目標c,但只能從模板中使用。iPhone在選項卡欄應用程序模板上創建TabBarController之前
我希望我的應用程序加載到一個視圖登錄,然後它到達我設置的標籤欄控制器。
我相信這可以在應用程序代理的'didfinishlaunchingwithoptions'部分完成,但之後我不知道如何登錄成功後我可以再次顯示選項卡控制器。
我會任何幫助:)
我越來越擅長使用xcode和目標c,但只能從模板中使用。iPhone在選項卡欄應用程序模板上創建TabBarController之前
我希望我的應用程序加載到一個視圖登錄,然後它到達我設置的標籤欄控制器。
我相信這可以在應用程序代理的'didfinishlaunchingwithoptions'部分完成,但之後我不知道如何登錄成功後我可以再次顯示選項卡控制器。
我會任何幫助:)
我想你想是這樣的
LoginViewController *loginViewController = [[[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil] autorelease];
[tabBarController presentModalViewController:loginViewController animated:YES];
內didfinishlaunchingwithoptions
ü要顯示第一顯示視圖,而無需使用的TabBar控制器或不 – ram