Merge pull request #14355 from volzhs/ios-delegate
use application:didFinishLaunchingWithOptions: instead of application…
This commit is contained in:
commit
78364d4b07
@ -568,7 +568,7 @@ static int frame_count = 0;
|
|||||||
MainLoop::NOTIFICATION_OS_MEMORY_WARNING);
|
MainLoop::NOTIFICATION_OS_MEMORY_WARNING);
|
||||||
};
|
};
|
||||||
|
|
||||||
- (void)applicationDidFinishLaunching:(UIApplication *)application {
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||||
|
|
||||||
printf("**************** app delegate init\n");
|
printf("**************** app delegate init\n");
|
||||||
CGRect rect = [[UIScreen mainScreen] bounds];
|
CGRect rect = [[UIScreen mainScreen] bounds];
|
||||||
@ -665,6 +665,7 @@ static int frame_count = 0;
|
|||||||
isAdvertisingTrackingEnabled]];
|
isAdvertisingTrackingEnabled]];
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
return TRUE;
|
||||||
};
|
};
|
||||||
|
|
||||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||||
|
Loading…
Reference in New Issue
Block a user