Contents

numberOfComponents

The number of components for the picker view.

Declaration

var numberOfComponents: Int { get }

Discussion

A UIPickerView object fetches the value of this property from the data source and caches it. The default value is 0.

See Also

Getting the dimensions of the picker view