APP放置3天到一周,再次启动会很慢。点击APP图标,大概会需要5秒以上才会进入启动页面。再次运行则秒进。请问这可能是什么方面的问题呢? 程序中有引入百度地图。
学习是最好的投资!
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;
I also encountered a similar problemHave you found the reason why it occurs?
It is recommended to check the following methods to see if there is any code that occupies the main thread for a long time
I also encountered a similar problem
Have you found the reason why it occurs?