0
NSString * googleMapsURLString1 = [NSString stringWithFormat:@“http://maps.google.com/?saddr=%1.6f,%1.6f&output=embed”,floatLati,floatLongi];不能在xcode 4.6中使用webview
NSString * googleMapsURLString1 = [NSString stringWithFormat:@“http://maps.google.com/?saddr=%1.6f,%1.6f&output=embed”,floatLati,floatLongi];不能在xcode 4.6中使用webview
试试这个,
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];
犯错,我觉得需要更多的细节。 – trojanfoe 2013-02-18 13:18:26