APP放置3天到一周,再次启动会很慢。点击APP图标,大概会需要5秒以上才会进入启动页面。再次运行则秒进。请问这可能是什么方面的问题呢? 程序中有引入百度地图。
天蓬老师2017-04-17 17:53:24
It is recommended to check the following methods to see if there is any code that occupies the main thread for a long time
- (void)applicationDidFinishLaunching:(UIApplication *)application;
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions NS_AVAILABLE_IOS(6_0);
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions NS_AVAILABLE_IOS(3_0);
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillResignActive:(UIApplication *)application;
迷茫2017-04-17 17:53:24
I also encountered a similar problem
Have you found the reason why it occurs?