location based alarm/notification ios -


i'm building ios app, want notification may local , simple notification, such on defined area of location, such provided latitude , longitude area around 200meter , when user entered in location, alerts notification.

how can schedule location based local notification in ios.

take @ available in setsdk, https://cocoapods.org/pods/setsdk. allow notified whenever user arrives new "location" (as learned on fly sdk) , evaluate see if location care about. this,

setsdk.instance.onarrival(to: .any) { newarrival in     /* compare new location 1 of interest */     if newarrival.location.distance(from: placeofinterest) < 200 {       /* things here */     } } 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -