iOS 10 Apple Map has 'show parked location' and I like this feature.
I want to make app for history of my parked locations, but I can't find APIs for that.
How to get information of parked location which is controlled by Apple Maps?
or How to implement this feature by own not by Apple Maps?
You could try and query the motion framework for all recent motion activities using CMMotionActivityQueryHandler then get all the recent CLVisit objects through CLLocationManger, correlate the data and figure out where the user was when he stopped being in a car.
It won't be perfect, it won't be the same as the Apple Maps one and it depends on whether people have Frequent Locations enabled (they mostly do, they're on by default), but it's the next best thing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With