简体   繁体   中英

Xcode 5, xib localization causes black screen on phone

I have an iPhone app on Xcode 5.0. I localized a UIViewController .xib file (English and Italian).

When running the app on phone and simulator, then loading the ViewController, the device shows a black screen. No exception or warning in console. Before localization the app was running fine.

Do you have any idea? Any help will be appreciated.

First I would try this:

  1. Quit the simulator

  2. Clean your project(Under Product, Clean, or shift-cmd-'k')

  3. Build your project(Under Product, Build, or cmd-'b')

  4. Re-run your application

If that does not work. You can try, with your simulator open, - Go to iOS simulator tab -> click reset content and settings .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM