Thursday, 8 August 2013

Prevent editing of text in UITextField and hide cursor/caret/magnifying glass while using an inputView

Prevent editing of text in UITextField and hide cursor/caret/magnifying
glass while using an inputView

How do I prevent the editing of text in a UITextField along with hiding
the cursor/caret/magnifying glass, but still present the keyboard, as I am
using an inputView with a UIPickerView/UIDatePickerView?
Setting userInteractionEnabled to NO does not work, because it no longer
receives any touches and will not present the keyboard.

No comments:

Post a Comment