My app is in productions an works correctly in all devices except the iPod touch, which only shows a black screen when start the app. Does any body knows which could be the problem? The iPod touch is running with the 4.2.1 iOS version. Thnks
7
votes
is maybe something realted to the Default.png image, is the iPod using the same of iPhone?
- ValentiGoClimb
I'm assuming you have a device to hand? Is there anything useful in the console? Does it enter the app delegate?
- Luke
Finally I get the solution, in MyApp-info.plist it miss the iPod MainWindow, which will use the default mainwindow.xib, now i have: ![enter image description here][1] [1]: i.stack.imgur.com/Fkhan.png I hope this can help somebody!
- ValentiGoClimb
Happy to hear you fixed it :)
- Luke
@ValentiGoClimb You should post that as an answer since it appears to be correct and the other ones are not!
- Stephen Darlington
4 Answers
6
votes
As @ValentiGoClimb mentioned in the comment, Xcode has bad defaults when generating the Info.plist file; it only sets the Storyboard keys for iPads and iPhones, not iPod Touches.
<key>UIMainStoryboardFile~ipad</key>
<string>iPadStoryboardFileName</string>
<key>UIMainStoryboardFile~iphone</key>
<string>iPhoneStoryboardFileName</string>
I haven't found a good way to edit this under the General Project settings screen in Xcode (which is why this problem most likely exists), so adding the key manually in the Info.plist file works well.
<key>UIMainStoryboardFile</key>
<string>iPhoneStoryboardFileName</string>
0
votes
Your iPod is supposed to have the retina display.
so just try using [email protected] .
And also please make sure to have this in resources.
0
votes


