Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To respond directly to picker manipulation, use the delegate's <a href="http://developer.apple.com/iphone/library/documentation/uikit/reference/UIPickerViewDelegate_Protocol/Reference/UIPickerViewDelegate.html#//apple_ref/occ/intfm/UIPickerViewDelegate/pickerView:didSelectRow:inComponent:" rel="nofollow noreferrer">pickerView:didSelectRow:inComponent:</a>. </p> <p>To obtain the view corresponding to user selection, use <a href="http://developer.apple.com/iphone/library/documentation/uikit/reference/UIPickerView_Class/Reference/UIPickerView.html#//apple_ref/occ/instm/UIPickerView/viewForRow:forComponent:" rel="nofollow noreferrer">viewForRow:forComponent:</a>. From that view you can obtain information about what it displays (if it's a UILabel, inspect its <code>text</code> property).</p> <p>Also, you can obtain this information directly from the data source, referring to the piece of information you would return in the delegate's <a href="http://developer.apple.com/iphone/library/documentation/uikit/reference/UIPickerViewDelegate_Protocol/Reference/UIPickerViewDelegate.html#//apple_ref/occ/intfm/UIPickerViewDelegate/pickerView:titleForRow:forComponent:" rel="nofollow noreferrer">pickerView:titleForRow:forComponent:</a> or <a href="http://developer.apple.com/iphone/library/documentation/uikit/reference/UIPickerViewDelegate_Protocol/Reference/UIPickerViewDelegate.html#//apple_ref/occ/intfm/UIPickerViewDelegate/pickerView:viewForRow:forComponent:reusingView:" rel="nofollow noreferrer">pickerView:viewForRow:forComponent:reusingView:</a>, for the currently selected row and component.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload