diff --git a/src/plugins/platforms/ios/qtmain.mm b/src/plugins/platforms/ios/qtmain.mm index 10c83f4b18..916224f936 100644 --- a/src/plugins/platforms/ios/qtmain.mm +++ b/src/plugins/platforms/ios/qtmain.mm @@ -53,7 +53,7 @@ extern int qt_main(int argc, char *argv[]); @implementation QIOSMainWrapperApplicationDelegate -- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; self.window.rootViewController = [[[QIOSViewController alloc] init] autorelease]; @@ -70,7 +70,7 @@ extern int qt_main(int argc, char *argv[]); selector:@selector(runUserMain) userInfo:nil repeats:NO]; if ([QIOSApplicationDelegate instancesRespondToSelector:_cmd]) - return [super application:application willFinishLaunchingWithOptions:launchOptions]; + return [super application:application didFinishLaunchingWithOptions:launchOptions]; else return YES; }