Constantly tracking user location on iOS

后端 未结 4 490
花落未央
花落未央 2021-02-09 05:09

I need to constantly monitor the position of an user to notify him when he gets near something interesting. Which is the correct way to achieve this?

I have not been abl

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-09 05:41

    Disclaimer: I work for Cintric

    We had a similar problem at Cintric and actually made a tool just for this purpose. It will track the location in the background even after the app has been quit, using only 1% battery too!

    You can download the .framework file, drag it into your project and initialize with one line of code: [CintricFind initWithApiKey:@"YOUR_API_KEY_HERE" andSecret:@"YOUR_SECRET_HERE"];

    You can get an API key for free.

    There are docs here: https://www.cintric.com/docs/ios

    And there is a blog post explaining further here: http://www.blog.cintric.com/?p=121

提交回复
热议问题