O'Reilly logo

The iOS 5 Developer’s Cookbook: Expanded Electronic Edition: Essentials and Advanced Recipes for iOS Programmers by Erica Sadun

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

7. Working with Images

On iOS, images and views have distinct roles. Unlike views, images have no onscreen presence. Although views can use and display images, they are not themselves images, not even UIImageView objects, which have the word “image” in their class name. Images are abstract representations of pictures, storing the data that makes up those pictures. This chapter leaves views to the side and focuses just on images. It introduces Cocoa Touch images, specifically the UIImage class, and teaches you all the basic know-how you need for working with image data on the iOS. In this chapter, you’ll learn how to load, store, and modify image data in your applications. You’ll see how to add images to views and how to convert views into images. ...

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