I have been using UIPickerView, my question is simple, how to disable the view when picker view is showing, so that we can ensure user are not changing anything in view. I have tried with setuserInteractinEnabled: method but it is disabling picker view too.. Any idea..?
I have been using UIPickerView , my question is simple, how to disable the
Share
I had to do something similar, and subclassed an
UIActionSheetto add a picker view to it. While the Action Sheet is up, you cannot interact with the underlying views.You can find some examples here on SO how to add a
UIPickerViewto anUIActionSheet, like how to add UIPickerView in UIActionSheet