Appendix D. Updating current applications for the iPad
Developing for the iPad is nearly identical as developing for the iPhone, so you should almost always release a version of your application for both. iPad users can always run your iPhone application in 2x mode (which stretches your iPhone application to fit the dimensions of the iPad screen), but this makes for an overall poor experience.
In a development document titled “iPad Programming Guide,” Apple provides a clear and concise method for porting your application from the iPhone to the iPad. Rather than restating that document, we felt it would be more beneficial to walk you through each step in converting an actual application.
You’ll follow a few standard steps to convert iPhone applications into iPad applications:
- Configure Xcode. Create two separate build targets: one for iPhone and one for iPad.
- Update the Info.plist, which is needed to support multiple interface orientations.
- Add iPad-specific interface components.
- Update the views. Because the device is larger, you need to update the frames of all your views.
- Add multiple-orientation support.
In this appendix, you’ll convert the collage application that you created in chapter 11 to an iPad application.