public interface UIPickerViewDataSource
Modifier and Type | Method and Description |
---|---|
int |
numberOfComponentsInPickerView(UIPickerView view)
Used when the number of components of the specified picker view is
needed.
|
int |
numberOfRowsInComponent(UIPickerView view,
int component)
Used when the number of rows of a specified component of a picker view is
needed.
|
int numberOfComponentsInPickerView(UIPickerView view)
view
- The picker view for which the number of components is needed.int numberOfRowsInComponent(UIPickerView view, int component)
view
- The picker view for which the number of rows is needed.component
- The component of the picker view for which the number of
rows is needed.Copyright © 2020. All rights reserved.