Core Location

Apple provides two frameworks for working with location: Core Location and MapKit. Core Location allows for finding and working with current location and heading information. In addition, Core Location also lets you set up geographic regions (called geo fences) to help you take action when the device enters or leaves a region. The framework uses the available hardware sensors to provide location data as close as possible to the accuracy you have requested. In addition, Core Location also handles geocoding, which allows for translation between a geographic point and an address, or vice versa. Geocoding requires an active Internet connection because the lookup between address and coordinate is done by Apple’s servers. All Core location ...

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.