Chapter 7. Media

As you’d expect, the iPhone can load and display media from a wide variety of formats. It does music; it does movies. It handles images and Web pages. You can present PDF documents and photo albums and more. In this chapter, you’re about to discover way after way that you can import or download data into your program and display that data using the iPhone’s multitouch interface. This chapter introduces recipes that let you present a rich variety of media types to your users. You’ll see how to build viewers for these data types and how to load them with content both from the iPhone itself and from remote locations.

Recipe: Browsing the Documents Folder by File Type

The Documents folder does exactly what the name suggests. You store ...

Get The iPhone™ Developer’s Cookbook: Building Applications with the iPhone SDK 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.