iOS 10 Launch Screen Bug

最后都变了- 提交于 2019-12-03 23:49:29

问题


My Device and Simulator seem to be caching the launch screen for my app!

I have deleted the original Launch Screen.storyboard and created my own XIB and swift files called "StartingPointView.xib" and "StartingPointView.Swift". The XIB file contains a view with Blue background color. It is also linked in the Xcode project settings under app icon and launch images.

So far everything seems fine, but when I change the color of the StartingPointView's view to say Yellow, the app continues to launch with a Blue screen and then flash a yellow screen.

Where is the blue coming from? (Note: I have no other blue screens in any of my UI and I tried running clean and clean build folder)


回答1:


This issue is directly related to rdar://24618582 "Xcode 7.2.1: Cached Launch Screen Does Not Update" which has existed since iOS 9.

The only workaround that I've found is to completely remove and re-install your application. I know this isn't really viable solution, but is the best that I can provide (besides restarting the device) until Apple fixes this runtime issue.



来源:https://stackoverflow.com/questions/39500354/ios-10-launch-screen-bug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!