Portrait only app for iPad

I'm building a tablet app and I want to know if it is possible to have the app working in portrait mode only. The landscape version is not appropriate for the app and I hope I don't have to adapt for this as well.

You can set the device orientations your app supports from Xcode's project editor.

  1. Open the project editor by selecting the project file from the left side of the project window.
  2. Select the app target from the target list on the left side of the project editor.
  3. Click the General button at the top of the project editor.
  4. Go to the Deployment Info section
  5. Select the checkboxes for the iPad orientations you want to support.

In xCode select the Target , goto general tab then iPad orientation

Portrait only app for iPad
 
 
Q