webV = [[UIWebView alloc]initWithFrame:self.view.bounds];
NSString* path = [NSString stringWithFormat:@"http://xxxxxxxxx"];
path = [path stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSLog(@"....");
webV.delegate = self;
[webV loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:path]]];
[self.view addSubview:webV];
本文介绍了如何在iOS应用中使用UIWebView加载网页,并通过URL字符串进行数据传递。
532

被折叠的 条评论
为什么被折叠?



