I have one UIPickerView. This is having nearly 200 items, each items has long texts, so, i want to resize the UIPickerView's font size. How can i change it? It is possible? Can any one help me? Thanks !
Yuva.M
I have one UIPickerView. This is having nearly 200 items, each items has long texts, so, i want to resize the UIPickerView's font size. How can i change it? It is possible? Can any one help me? Thanks !
Yuva.M
Try this, it should help:
You need to implement
pickerView:viewForRow:forComponent:reusingView:
method in picker's delegateUpdate in Swift for iOS8, you can add this to your delegate:
Swift 4: to update @Alessandro Ornano answer and avoid Force_cast violation error:
For Objective c
For Swift 2.3
For Font adjustment of UIPickerView Rows