hackiftekhar / IQKeyboardManager

Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.
MIT License
16.47k stars 2.41k forks source link

IQTextView.editable = NO, The view.toolbar will appear, and no keyboard #1227

Closed IPOSDai closed 6 years ago

IPOSDai commented 6 years ago

I have a lot of characters,but I don't want to edit them, and textView.editable = NO. So that when I click the textView, the keyboard.toobar will appear, and I double click the textView, it will rolling up to top.

IPOSDai commented 6 years ago

I don't know if it is normal, but what I want is that the keyboard.toolbar should not appear, and double click textView should be nothing.

hackiftekhar commented 6 years ago

It's iOS who show textField + keyboard + inputAccessoryView (Usually UITabbar), we can't do much thing there.

IPOSDai commented 6 years ago

So, when I set textView.editable = NO, I need to set textView.inputAccessoryView = nil. But double click textView, the content of textView will scroll up, this is normal?

hackiftekhar commented 6 years ago

For workaround, it's YES. But at lady I can say, it's all managed by iOS and we can't do anything to fix this issue.

IPOSDai commented 6 years ago

OK, Thanks.