适用于iOS的Quickblox:如何仅在100 km区域内提取位置?

时间:2013-05-28 15:07:51

标签: ios quickblox

所以在REST API中,我会做一些像官方教程中那样的事情:

curl -X GET \
-H "QuickBlox-REST-API-Version: 0.1.0" \
-H "QB-Token: cc3598167f68a8e95b50a4fc6607cd3a8e7f043b" \
http://api.quickblox.com/geodata/find.xml?radius=100&current_position=90%3B90

我如何使用iOS SDK做类似的事情?

1 个答案:

答案 0 :(得分:2)

不确定

QBLGeoDataGetRequest *getRequest = [[QBLGeoDataGetRequest alloc] init];
getRequest.radius = 100;
getRequest.currentPosition = CLLocationCoordinate2DMake(23.55, -12.66);

[QBLocation geoDataWithRequest:getRequest delegate:self];