We will now proceed with creating our AccelGyroExample project which will show how to determine and handle the accelerometer and gyroscope features:
Launch Xcode from the
/Xcode4/Applications
folder.Choose Create a new Xcode project, or File | New Project.
You will be prompted to choose a project type and template.
From the Project Template Dialog, select the View-based Application project type.
Ensure that you have selected iPhone from the Device Family drop-down as the type of View to create.
Click on the Next button to proceed to the next step.
Specify a name for the project which you want to create.
Enter
AccelGyroExample
and then click on the Next button to proceed to the next step in the wizard. You will then be asked to choose a location where you would like to save the project.
Once your project has been created, you will be presented with the Xcode interface, along with the project files that the template created for you within the...