开发者

Xcode, can't remove "Launch image" from project

I am playing with my Xcode, following tutorial, learning this stuff. I added an image to "Launch Images", rebuilt my project, it showed up.

  • I removed the image, rebuilt my project .... image still flashed before app started

  • I deleted my project, redid my project, this time with no image, launched the app and voila ... image is still there?

  • I reset simulator counters and settings ... same issue

Is the开发者_开发问答re a permanent location where this file can be removed from? Is there a cache that needs to be reset etc?

Please let me know.


iPhone Simulator caches stuff. Try a clean build, or actually deleting the app from the simulator (by holding down on a home screen icon until it wiggles, then X-ing it).


With the project open Goto xcode > Product > Clean


Navigate to the project folder, go to Resources folder and delete the folders called splash and icon (do this from both from Xcode and Finder). Also delete the app from either the device or the simulator by pressing on it and x-ing it out then go to Product->Clean.

I know this was very painful, but now you can set the new icons and launch images from Xcode.

Good luck.


Check that the image is not in the project folder anywhere, also ensure that in the info.plist there is no value relating to launch image.


Are you looking for an image named "Default.png" (or whatever suffix)? When assigning an image to the default launch, Xcode makes a copy and renames it "Default".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜