我已经在我的应用程序创建的WebView,我可以发送数据到webview吗?
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:@"SimpleCall" ofType:@"html"];
NSString* htmlString = [NSString stringWithContentsOfFile:htmlFile encoding:NSUTF8StringEncoding error:nil];
[webview loadHTMLString:htmlString baseURL: [[NSBundle mainBundle] bundleURL]];
[self.view addSubview:webview];
现在我想将数据发送到的WebView的WebView启动时load.is有任何财产的UIWebView?
感谢提前。
哪些数据?请详细说明,你的问题不清楚。 – iphonic
GET和POST数据? – DocAsh59