简体   繁体   中英

App struck in splash screen or launch screen in ios

Sometimes app is working fine, but sometimes it will get stuck in the launch screen.

I tried many things like changing the provisioning profile, restarting my Mac, quiting Xcode, and quitting the iPhone Simulator.

Xcode version is 7.3.0, macOS 10.11.4

I don't know what to do next. Please help me with this issue.

如果您的应用在启动时挂起,则应检查AppDelegate的didFinishingLaunching和初始视图控制器的viewDidLoad

Seems it might be taking some time to appear.

Check the code what you are running in didFinishLaunchingWithOptions method.

Any Server calls making it to take that much time.

Try the way by debugging from AppDelegate to viewDidLoad method of initial viewcontroller .

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