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 didSelectRow
method because I only want the user to see that the picker is there and not to touch it.
Set the picker's userInteractionEnabled
to NO.
Use this to make it not interactable
[pickerObj setUserInteractionEnabled:NO];
and this to
[pickerObj setAlpha:.6];
fade the opacity so it looks non-interactable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With