Changes

Jump to: navigation, search

Using the iOS 7 UIPickerView and UIDatePicker Components

12 bytes added, 20:42, 1 February 2016
m
Text replacement - "<google>BUY_IOS7</google>" to "<htmlet>ios9_upgrade</htmlet>"
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
By way of introduction to the concept of using pickers in an iOS 7 application we will begin with a very simple example that utilizes the UIDatePicker class. The application will consist of a DatePicker, a label and a button. When the button is pressed by the user the date and time selected in the picker will be displayed on the label component.
Begin by creating a new iOS project using the Single View Application template with the Devices menu set to iPhone and DatePicker entered for both the product name and class prefix.
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
== Designing the User Interface ==
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>

Navigation menu