Does there exist an iPhone application that can call an online API (RESTful or otherwise) triggered by geofences?
Looks like Locative can do this:

https://itunes.apple.com/us/app/locative/id725198453?mt=8

https://github.com/LocativeHQ