Time for action – creating the OrientationExample project

We will now proceed with creating our OrientationExample project which will show how to determine when the device orientation changes:

  1. Launch Xcode from the /Xcode4/Applications folder.
  2. Choose Create a new Xcode project, or File | New Project.
  3. You will be prompted to choose a project type and template.
  4. From the Project Template Dialog, select the View-based Application project type.
  5. Ensure that you have selected iPhone from the Device Family drop-down as the type of View to create.
  6. Click on the Next button to proceed to the next step.
  7. Specify a name for the project which you want to create.
  8. Enter OrientationExample and then click on the Next button to proceed to the next step in the wizard. You ...

Get Xcode 4 iOS Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.