开发者

Why UITextView/UITextField can't implement the UITextInput on iOS

Apple supply an example to implement the UITextInput based on a UIView开发者_运维知识库. I tried to do the same thing based on the UITextView/UITextField but failed. That's why?

Thanks


Apple uses a private class as delegate for UITextInput on these classes. That means you cannot hook your own code in there because you cannot subclass a private class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜