开发者

iphone uiwebview / form

Okay, so I have an iphone app that presents the user with a UIWebview of an html page with a form I created. The form has standard stuff like a message box an开发者_高级运维d dropdown boxes. Once the user fills out the form and clicks submit, it saves the information as nsstrings in my program. Okay, no problem there. That all works fine.

However, I also wanna be able to edit this form as well. Once I save all this information the user selected in the form (as strings), is there a way to put it back into an html form using an uiwebview so a user of the app can edit the info later on?? I apologize in advance if I didn't give enough info.


You can do this with javascript. Just create a javascript snippet to fill in the fields, and execute it using -[UIWebView stringByEvaluatingJavaScriptFromString:].

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜