O'Reilly logo

Xcode 4 iOS Development by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required