Reputation: 20319
I recently wrote an iPad app that I would like to make a universal app.
What is the best way to do this? Can I simply create two versions of my XIB files and load the appropriate XIB based upon the device?
Upvotes: 0
Views: 106
Reputation: 515
Yes, you do need 2 .xib files for every screen. The tutorial that NeilMonday posted is helpful, but I found this one to be better: http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad
Upvotes: 1
Reputation: 2730
This should help you out a lot: http://iphonedevelopment.blogspot.com/2010/04/converting-iphone-apps-to-universal.html
Yes, you can create 2 xib files for every screen (one for iPad, and one for iPhone/iPod).
Upvotes: 3