gpt4 book ai didi

ios - 适用于 iOS 的 Quickblox : how do I extract locations only in 100 km area?

转载 作者:行者123 更新时间:2023-11-29 10:59:10 24 4
gpt4 key购买 nike

所以在 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 执行类似的操作?

最佳答案

当然

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

[QBLocation geoDataWithRequest:getRequest delegate:self];

关于ios - 适用于 iOS 的 Quickblox : how do I extract locations only in 100 km area?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16795456/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com