Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 2 replies, 0 views
Replied In
UIPickerViewDelegate bug
I mean that the method is called with the parameter component which is out of bounds. In the docs for this method apple states in regards to component:
A zero-indexed number identifying a component of pickerView. Components are numbered left-to-right.
So the actual number, in my case which I have 3 components. The number of components is returned from
func numberOfComponents(in pickerView: UIPickerView) -> Int {
3
}
that I implement as part of the data source.