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

后端 未结 6 1645
北荒
北荒 2021-02-13 01:40

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 in

6条回答
  •  臣服心动
    2021-02-13 02:35

    Hiding the cursor is a lot simpler in iOS 7. Still need some trickery to disable the loupe

    textField.tintColor = [UIColor clearColor];
    

提交回复
热议问题