Chapter    2

Adding Images to Your App

The best way to learn to draw is by studying still-life subjects. Similarly, the best way to get into iOS media app development is by starting with static images!

In this chapter, you will use Apple’s UIImage, UIImageView, and UIImagePicker classes to represent, display, and import images into your applications. These classes abstract a number of useful features, from decoding files to providing in-app access to iOS’s system-wide camera controller.

Using the UIImage Class to Represent Image Data

Unlike plain-text files, which store data in a human-readable format, images have a complex set of attributes that require them to be stored as binary data—including compression and color space information. All binary ...

Get Beginning iOS Media App Development 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.