Is there a way to make the UIPickerView read-only? This means that the user cannot flip through the options.
PS. This is not the same as not passing anything in the <
Use this to make it not interactable
[pickerObj setUserInteractionEnabled:NO];
and this to
[pickerObj setAlpha:.6];
fade the opacity so it looks non-interactable
Set the picker's userInteractionEnabled
to NO.
If you are using a UIPickerView
associated with a UITextField
, just set the text field's isEnabled
property to false
.