Learn how to use the Core Motion and Core Location frameworks to access the device's sensors from an iOS application. After reading this guide, you will know how to detect the device's movements, how to determine what the user is doing (walking, running, driving, etc.), and how to get its current location.
Table of Contents
SENSORS
Core Motion
Motion Device
Motion Activity
Pedometer
Altimeter
Core Location
Authorization
Getting the Location
Background Location
Regions
Geocoding
This guide assumes that you have a basic knowledge of app development, Xcode, and the Swift language. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.
The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.