iPhone simulator isn't showing splash screen
All I have to d开发者_如何学Pythono to show a splash screen in a view-based application is drag an image into the resources folder and name it default.png, correct? This is what I did, but the image doesn't show.
When you added it, did you tell it to copy to output location? It was a checkbox on the dialog that showed up after you added it. Try readding and make sure this checkbox is checked.
UPDATE from comments: a clean build fixed the problem
It sounds like what you are doing is correct, but reading through the documentation might help you work out what the problem is.
Perhaps your Default.png
is not in the root of your bundle? To check, expand the Products section in the Groups & Files panel, then select Reveal in Finder from the context menu. Then right click on the app bundle in Finder, and select Show Package Contents. You should see your Default.png
listed there.
精彩评论