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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.