开发者

Xcode iPhone HOW do I interact with a web page that has alreaded loaded?

In viewDidLoad I have

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://w开发者_JAVA百科ebpage_etc"]]];

which loads the web page fine, but this web page has a name, password and submit button. How do I fill in (with Xcode) the name password and hit the submit button.


Use stringByEvaluatingJavaScriptFromString: to inject some javascript that manipulates the objects in the page.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜