开发者

UITextField to UIWebView Form?

开发者 https://www.devze.com 2023-04-12 21:38 出处:网络
How can I set up a U开发者_运维百科ITextField, so that when a user inputs data into that UITextField - that data will be input into the UIWebView form and be submitted?

How can I set up a U开发者_运维百科ITextField, so that when a user inputs data into that UITextField - that data will be input into the UIWebView form and be submitted?

Thanks!


hmm, one option could be, get input in UITextField, and then make HTML like this:

<form>
<input type="text"  value=[TextField.text] > 
</form>

and load html string in UIWebView.

0

精彩评论

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

关注公众号