简体   繁体   中英

iOS App crashing at startup

I tried to run my app in ipad 1 (iOS 5.0) but at the startup sometime app crashing(during splash screen image) .So i run a profile check and then the total memory usage is near to 5.0Mb and it crashed during launch image .I got a alert from profile that "low memory" .Then i checked the memory allocation and i saw its also using 6.0 mb to get app open and then suddenly it drop to 4.0 Mb and after sometime app crashed.Please check the attached image along with this.

内存分配检查

When your app launches, application:didFinishLaunchingWithOptions: gets called. It is your job to return from this method as soon as possible. Only do strictly necessary things that your need for your app before your present something to the user.

Do not do ANY synchronous networking at this moment. You can kick off async calls to the network, but you have to return from this method immediately. If you do not, the system will kill your app before it even got to present it's first view.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM