ジャッジメント webview ページはどのようにロードされますか? ページが読み込まれていることをお知らせします。また、以下の URL の一部のように、Webview に読み込まれた Web ページを開くことができません。
- (void)awakeFromNib {
NSString *urlString = @"http://www.google.com";
// Insert code here to initialize your application
[[_webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlString]]];
}
- (IBAction)googleOpen:(id)sender {
[_webView setMainFrameURL:@"http://www.google.com"];
}
- (IBAction)baiduOpen:(id)sender {
[_webView setMainFrameURL:@"http://www.baidu.com"];
}
- (IBAction)yahooOpen:(id)sender {
[_webView setMainFrameURL:@"http://www.yahoo.com"];
}
パラメータを渡す方法で URL を開くにはどうすればよいですか?