Closed SquaredTiki closed 10 years ago
Nice catch! I'll fix this shortly.
I just tried this out and it looks like textViewDidChange:
and textViewDidChangeSelection:
are getting called. textView:shouldChangeTextInRange:replacementText:
was not getting called. Can you confirm? Tested in iOS 7.1 simulator.
I can confirm. Indeed only seems to be textView:shouldChangeTextInRange:replacementText:
not getting called.
I'll push a revision release via CocoaPods later on today that resolves this issue.
Brilliant, thanks!
UITextView
delegate methods such astextView:shouldChangeTextInRange:replacementText:
andtextViewDidChange:
are not called for inputs made through the keyboard buttons.Looks like this is because calling
insertText:
on the text view will not call delegate methods.