Chapter 13Controls—Part Two: Using Pickers and Using the Camera

Key Skills & Concepts

• Using a UIDatePicker to select dates

• Using a UIPickerView to select values

• Using a UIPickerView with multiple components

• Using a UIPickerView with UIImageView

• Using the UIImagePickerController to control the camera and access the photo library

• Using simple NSNotifications

What do the UIPickerView and the UIImagePicker classes have in common? Nothing, really, other than they are both ultimately UIViews. But they are both controls you might use in an iOS application, and so they are covered together in this second chapter on iOS controls. This chapter’s first half covers using the UIDatePicker and UIPickerView classes. These classes create visual controls ...

Get iOS SDK Programming A Beginners Guide 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.