Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My App shows only a black screen on iPod

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

like image 523
ValentiGoClimb Avatar asked Jun 09 '11 08:06

ValentiGoClimb


People also ask

Why does my iPod have a black screen?

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.

How do you fix a black screen on an iPod nano?

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.

How do you fix an unresponsive iPod screen?

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.


1 Answers

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>
like image 74
paulrehkugler Avatar answered Oct 08 '22 02:10

paulrehkugler