4. iPhone User Interface Elements

iOS offers a rich set of buttons, sliders, switches, and other user interface elements for you to use in creating your applications. These elements can be roughly divided into two main groups, views and controls.

Views provide the primary canvas and drawing functionality of your user interface. They also give your application the ability to handle touch events.

Controls extend upon this functionality and provide a way for users to interact with your application by defining what is known as the target-action mechanism: ...

Get iPhone Application Development for iOS 4: Visual QuickStart 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.