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
Most of the time that an iPod screen goes black, the problem's related to minor firmware issues that can be easily solved. To troubleshoot black screen problems, the first thing to try is plugging your iPod into a charger and letting it charge for at least a half hour.
Force restart your iPod nanoPress and hold both the Sleep/Wake and Home button until the screen turns off. Then wait a few seconds for your device to restart. Still need help? Plug your iPod into power, then try again.
Turn off the iPod and than hit the Power button again to turn the iPod back on. Do a hard reset of your iPod by holding down the Power and home buttons for 10 seconds simultaneously. The Apple logo should appear within 10 seconds, if it doesn't you may need a new battery.
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With