开发者

Open map url in iPhone simulator always redirects

I have written an iPhone app that uses google maps for displayin开发者_如何转开发g maps.

I.e.

http://maps.google.com/maps?ll=48.85812229675187,2.294490337371826

with:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];

But I always gets redirected to the current location. What am I doing wrong? How can I avoid this?


Try

http://maps.google.com/maps?q=48.85812229675187,2.294490337371826

(notice the q instead of ll)

This lets Maps.app search for the specified location.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜