Chapter    11

Media in Your App: Playing Audio and Video

So far in this book, we’ve covered a lot of ways to control how your app looks and how the user interacts with it. From custom user interfaces design to custom user interactions, what you’ve learned so far has really been limited to changing how the app appears. In this chapter, we’ll introduce media to your app. Being able to play audio and video back from your app allows you to engage users on another dimension, provide instant feedback on their actions, and enrich the content you can provide in your app. For games, being able to play sound effects, ambient noise, and music is essential. Since every iOS device can also play music, the user could be playing music when they start any ...

Get Learn Cocoa Touch for iOS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.