objective c - How to Detect If User is Traveling on a Particular Road in iOS? -
are there frameworks/apis see if user traveling on particular road (whose coordinates known) in background?
my usecase this. when user traveling in particular road, want send him custom notifications.
the closest thing can think of clregion. clregion circular geofence create, , ask system monitor you. system wake app , send messages when user enters region.
i don't know of way create region polyline however.
for short roads set series of regions. however, believe there pretty small limit on total number of active regions (the limit 20 beacon regions, , might same "regular" clregions. don't remember off top of head.)
Comments
Post a Comment