Converting an iPhone app to a Universal app?

后端 未结 3 953
孤街浪徒
孤街浪徒 2021-01-14 09:56

I have an iPhone app with FirstViewController and SecondViewController with respective views FirstV

3条回答
  •  感情败类
    2021-01-14 10:11

    if you are using Xcode4 you can use "transition to universal target" and it will do everything needed

    http://xcodebook.com/2011/05/making-an-ios-target-universal/

    if you dont have it then I recommend to keep controllers out of your xib. xib files will be only containing views for iphone and ipad but the controllers "can" be same. and you can control your logic from the rootviewcontroller, just an idea..it all depends on your project.

提交回复
热议问题