I aslo faced same same problem while trying your code and I found that there is no need to implement
- (UIView *)textInputView {
return _textContentView;
}
See Apple documentation (This is typically an instance of the UITextInput-adopting class.) for more help on it.
And if you want to keep implementation of this method, just return self
from it, as here self (EGOTextView)
is a instance of the UITextInput-adopting class.
I tried this at my end and works fine.