iphone - How to use `UIKeyInput` protocol with `UIWebView` control? -
how use uikeyinput
protocol uiwebview
control?
(i'm trying fix backspace issue: works on external keyboard, doesn't work on ios keyboard more 1 removed char, , works after char entered on both keyboards.)
the problem uiwebview is restricted container view of uiwebdocumentview
, private class, 1 need subclass in order implement need. well, it's possible, grey area. our app magic "special" view , on app store.
your solution dynamically change subclass of uiwebdocumentview
instance class of own, dynamically become subclass of uiwebdocumentview
class. in class of own, able implement protocol methods.
if scares you, means should not attempt. if in adventure, it's not bad sounds (a little objective c runtime magic). let me know if need help.
Comments
Post a Comment