简体   繁体   中英

Black screen, spinning wheel at launch

I've encountered a huge problem, some of my users have a strange crash. At the launch of my application, before or just after the launch screen, they get a black screen with a spinning wheel. After that the device is locked, and the app closed.

Nothing have change except Xcode 8.3 and iOS 10.3.

On my phone everything works fine, and on simulator as well. I can't reproduce it, and I've no crash on fabrics.

在此处输入图片说明

If someone have an idea about it please answer. Thanks in advance.

These might be OOM (out of memory issues). There is no way to determine what caused OOM as far as I know.

Try focusing on whether you have such issues on launch:

  1. Database operations (bringing lots of objects in memory)
  2. Raw image operations
  3. Any infinite loops or operations that happen repeatedly.

Any image size is big or if we use any animated huge size image, application will get into out of memory.

I faced same issue in my application. Just removed the image or resize the image application will work normally.

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