How does CLVisit work?

I am working on an application that is heavily dependent on monitoring user visits in possibly several regions / areas. I am currently experimenting with regional monitoring, which works very well, however the location callback is not as accurate as I want. I saw CLVisit, but the documentation there doesn’t explain it very well, especially its use.

+4
source share
1 answer

I think you misunderstand the concept of CLVisits. In fact, there is no visiting object to create. The delegation method CLLocationManager is launched according to the algorithm that the apple determined (for more details see wwdc lecture ). This is explained in the CLLocationManager documentation ...

Getting visited places

iOS , , . , , , , , . , . , .

, , startMonitoringVisits. , locationManager: didVisit: method. , , , , . , , , , , , . , , .

NSHipster, CLVists ( iOS 8.1). , , , , , CLVisit. , ( , ).

CLVisit, iOS 8.1, . , , . , . , Apple , , , , CLVisit , .

+5

Source: https://habr.com/ru/post/1607926/


All Articles