How to convert iPhone app to universal in xcode4, if I previously converted, but deleted MainWindow-iPad?

你离开我真会死。 提交于 2019-12-11 17:13:12

问题


I have iPhone app and I converted it in xcode4 to universal app, and it worked fine, but after that I deleted MainWindow-iPad and return to iPhone app only. Now I need to make my app universal again, I clicked in Xcode4 "Devices-Universal", but XCode don't create MainWindow-iPad and don't ask me "Transition to universal target" so when I'm building and running in iPad simulator app crashes. How can I fix this? Thank you.


回答1:


Create your own mainwindow-ipad nib file and set it as main nib file for the iPad platform in your info.plist



来源:https://stackoverflow.com/questions/5788286/how-to-convert-iphone-app-to-universal-in-xcode4-if-i-previously-converted-but

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!