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

Get The iOS 4 Developer’s Cookbook: Core Concepts and Essential Recipes for iOS Programmers now with O’Reilly online learning.

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