【发布时间】:2012-12-01 08:40:36
【问题描述】:
先生,我是 iPhone 开发的新手。我需要知道如何在不发送 url 请求中的纬度和经度的情况下获取新位置。
NSURL *URL = [NSURL URLWithString:@"https://maps.googleapis.com/maps/api/place/search /json?location=40.7143528,-74.0059731&radius=10000&types=school&sensor=false&key=AIzaSyDbiWWIOmc08YSb9DAkdyTWXh_PirVuXpM"];
这是我的代码,我通过带有 iat 和 lang 值的 url 请求进行了请求,现在我需要在没有这两个值的情况下给出。但它应该采用当前值
【问题讨论】:
-
你的意思是说你的设备应该花很长时间???
-
@InderKumarRathore: 是的 inder kumar Rathore
标签: iphone location latitude-longitude gettime