你的位置:
首页
>
业界
>
iOS 调用手机浏览器打开网页
NSString *textURL = @"http://www.yoururl/";
NSURL *cleanURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@", textURL]];
[[UIApplication sharedApplication] openURL:cleanURL];
NSString *textURL = @"http://www.yoururl/";
NSURL *cleanURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@", textURL]];
[[UIApplication sharedApplication] openURL:cleanURL];