請(qǐng)查看UIStoryboard這個(gè)類的文檔,有接口實(shí)例化UIStoryboard中任何一個(gè)ViewController類,但是要在ViewController的屬性中設(shè)置名稱或者StoryboardID才能用那個(gè)接口。如果是在application:didFinishLaunchingWithOptions:方法中判斷條件的話,就是把AppDelegate的window的rootViewController設(shè)置為你按條件實(shí)例化的那個(gè)實(shí)例。最后,記得在返回YES之前調(diào)用[self.windowmakeKeyAndVisible];給你一段相對(duì)比較全面的參考代碼:UIStoryboard*storyBoard=[UIStoryboardstoryboardWithName:@"Main_iPad"bundle:nil];if(userId){MyViewController*firstController=[storyBoardinstantiateViewControllerWithIdentifier:@"FirstLoadingController"];self.window.rootViewController=firstController;}else{MyViewController*firstController=[storyBoardinstantiateViewControllerWithIdentifier:@"IntroductionViewController"];self.window.rootViewController=firstController;}[self.windowmakeKeyAndVisible];PS:其實(shí)還可以采用另一個(gè)方案:在檢查到用戶未登錄的時(shí)候馬上以Modal的方式加入登錄的view,讓用戶先完成登錄操作。