The iOS 4 Developer’s Cookbook: Core Concepts and Essential Recipes for iOS Programmers
by Erica Sadun
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access