How to make a application with target is iPhone/iPad

馋奶兔 提交于 2019-12-12 04:22:18

问题


I want to make a application which can run complete in iPhone and iPad (full mode, not x2 mode). Please help me. Thank in advance!
I found down a config called "Targeted Device Family", but I still don't know what about design (for iPhone, iPad), how to show UI if device is iPhone, how to show UI if device is iPad.


回答1:


See "Creating a Universal Application" in the iOS Application Programming Guide for details on how to set this up in Xcode, and what pieces you need to provide.




回答2:


Target Device Family: iPad/iPhone. You need then two xib-Files if you want two different designs. One for the iPad Resolution and one for the iPad resolution. Like MainWindow-iPad.xib and MainWindow-iPhone.xib or you implement a recognition of the device in your code.

For more information look into this thread.




回答3:


You need to create a Universal iOS app :) google "convert iPhone app into universal app". Things get a lot easier when your project is done in interface builder.



来源:https://stackoverflow.com/questions/6984044/how-to-make-a-application-with-target-is-iphone-ipad

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