What is the default value for the height and width of components in a UIPickerView? that is, what value does iOS use as height and width for lower if the application has not implemented these methods?
pickerView:widthForComponent:
pickerView:rowHeightForComponent:
I tried a suggestion from the stream:
What is the default width of a UIPickerView component? But this will give an array from the exception:
Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 0 beyond bounds for empty array'
Any help was appreciated.
source
share