Reputation: 455
How to do geo fencing in iphone?
Is there any API available?
If any sample code available please share with me.
Upvotes: 1
Views: 5459
Reputation: 2942
Following examples should you give more idea on geofencing:
http://www.creativebloq.com/ipad/get-started-geofencing-ios-9122867
http://mobile.tutsplus.com/tutorials/iphone/geofencing-with-core-location/
Upvotes: 0
Reputation: 2044
To resume :
- Add the good tag in your info plist (location, location-services, gps...)
- Use the startMonitoringForRegion
on the CLLocationManager
Upvotes: 0
Reputation: 3195
This may help you http://www.netmagazine.com/tutorials/get-started-geofencing-ios or you could get this book which also covers it in detail http://www.amazon.co.uk/Geolocation-iOS-Mobile-Positioning-Mapping/dp/1449308449
Upvotes: 0
Reputation: 6320
Take a look at the Location Awareness Programming Guide. It contains all the info you need.
Upvotes: 5