繁体   English   中英

在xcode 4.6中无法使用webview

[英]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 ];

尝试这个,

 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM