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 – adding the AudioToolbox Framework to our application

Now that we have created our project, we need to add the AudioToolbox Framework to our project. This is an important framework which will provide us the ability to play sound and vibrate the phone. It is similar to the MediaPlayer Framework that we used in previous chapters, but only supports a limited number of audio file formats.

To add the new frameworks or additional frameworks into your project, select the Project Navigator Group, and then follow these simple steps as outlined below:

  1. Select your Project within the Project Navigator Window.
  2. Then select your project target from under the TARGETS group.
  3. Select the Build Phases tab.
  4. Expand the Link Library with Libraries disclosure ...

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