[英]not working with webview in xcode 4.6
NSString * googleMapsURLString1 = [NSString stringWithFormat:@“ http://maps.google.com/?saddr=%1.6f,%1.6f&output=embed”,floatLati,floatLongi ];
Try this, 尝试这个,
NSString *googleMapsURLString1 = [NSString stringWithFormat:@"http://maps.google.com/?saddr=%1.6f,%1.6f&output=embed",floatLati,floatLongi];
NSURL *url = [NSURL URLWithString:googleMapsURLString1];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[webView loadRequest:requestObj];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.