O'Reilly logo

Beginning iOS Media App Development by Ahmed Bakir

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

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 ...

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