【发布时间】:2017-03-09 09:22:39
【问题描述】:
我已经在我的应用中创建了 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 发送数据。uiwebview 有任何属性吗?
谢谢提前。
【问题讨论】:
-
什么数据?请详细说明,您的问题不清楚。
-
获取和发布数据?
标签: ios objective-c uiwebview delegates