这个想法很简单。
->UIWebView has opened google.com or some other website, which has textfields
-->There is textfield.
--->When I click on it, usually opens keyboard and you can start to write
---->But I want, that it shows UITextField, where I can write something, and when I
finish writing, it should send text to textfield
我想要谷歌电子表格单元格! 现在看来,我的问题毫无意义,但这可能吗?
最佳答案
您的意思是说,当您在 UITextField
中键入时,webview 的 textFileds 中应该显示相同的值。
您可以使用 UITextField
的 textField:shouldChangeCharactersInRange:replacementString:
委托(delegate)。
详情看documentation .
关于ios - 如何在 UITextField 中写入文本并在 uiWebview 中写入 textField 时发送文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20072628/