Chapter    16

A Swift HealthKit iPhone App

HealthKit enables iOS developers to integrate health and fitness devices with their app and integrate the data with Apple’s easy-to-read dashboard. HealthKit enables health and fitness apps on an iOS device to work together and report device data in the Health app dashboard. See Figure 16-1.


Figure 16-1. The Health app’s dashboard

HealthKit is the accompanying developer SDK included in iOS 8 and newer. The SDK enables other applications to access health data with the user’s permission. For example, a blood pressure application could share its information with the user’s doctor.

A number of companies ...

Get Swift 2 for Absolute Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.