title: Location based notifications in Swift
body: <p>I want to create a location based notification. Like this:</p>
  
  <p><a href="https://stackoverflow.com/questions/28959201/create-local-location-based-notifications-in-swift">Create local location based notifications in swift</a></p>
  
  <p>So if I use <code>UILocalNotification</code>, how can I set <code>alertBody</code> to be the result of function that is executed only when the user enters the specific region? </p>
  
  <p>Basically when a user enters a specific region, I want to perform a GET request and obtain some data which will be displayed in the notification, if required.</p>
  
  <p>Also, when you register a geo location thing, do you need to have <code>locationManager</code> running the whole time, so you're getting <code>didLocationUpdate</code> calls?</p>