Implementing geofencing on an ios device to fire off events based on location.