我想在“application didFinishLaunchingWithOptions”
中使用show function-(void)show
{
NSLog(@"AAA");
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions {
[self.window makeKeyAndVisible];
return YES;
}
答案 0 :(得分:2)
只需在[self show];
Return
答案 1 :(得分:1)
使用[自我表演];你的应用程序内部有didFinishLaunchingWithOptions。