我在didFinishLaunching上獲得了此代碼,但我不知道如何自定義它以從打開應用程序時打開menuViewController。如何更改第一次加載視圖
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions
{
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
// Override point for customization after application launch.
self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil] autorelease];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
// At the end of applicationDidFinishLaunching, right before
// the return YES
[[GCTurnBasedMatchHelper sharedInstance] authenticateLocalUser];
return YES;
}
希望有人能幫助我
是的,已經嘗試過,大聲笑只是忘記了導入它.-對不起,傢伙感謝您的幫助:) – Kevin