Skip to main content

Picker Controls

  • Chapter
  • First Online:
iPhone and iPad Apps for Absolute Beginners
  • 638 Accesses

Abstract

In Chapter 7, you looked at a number of basic controls that allow your user to input data to your app. Ultimately, controls are all about either putting data in or rendering data out. In this chapter, you’ll explore some more sophisticated data entry controls in which the user is given the ability to enter complex information by choosing it from a list. This process, in iOS generally called “picking,” presents the user with a list of information from which the user picks what they want. A common form of picking is to choose a date using separate spinners for day, month, and year, instead of having the user type them in. Xcode provides a control for that, which you’ll look at first. You’ll then learn how to use the generic “UIPicker” control to create your own set of input options, rendered in the same way, and how to catch the user’s input from it.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 34.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Rory Lewis

About this chapter

Cite this chapter

Lewis, R., Moroney, L. (2013). Picker Controls. In: iPhone and iPad Apps for Absolute Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6362-3_8

Download citation

Publish with us

Policies and ethics