O'Reilly logo

Application Development with Swift by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Introduction to HealthKit

Starting with iOS 8, many frameworks and new APIs have been introduced to build awesome apps with new ideas. In this chapter, we are going to introduce one of these new frameworks, which is HealthKit. We will see how to use it to communicate with the native Health app in your iOS device.

What is HealthKit?

HealthKit is a new API provided by iOS 8. It enables apps to read the user's health information using the native Health app in their devices. You can consider that the Health app is a user interface for the HealthKit store. Other apps can write data in the Health app, such as workouts results, or statistics, so that the user can access them. This helps users to find all the information about their health in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required