HealthKit Development Quick Start Tutorial HealthKit framework System Create health AppIDHealthKitDevelopment Preparation Work
in the development of a HealthKit application, you first need to explain HealthKit What are the classes in the IOS on the Health what are the functions of health applications? This section will explain these issues.
HealthKitFramework System
for a class of applications, to develop, you first need to familiarize yourself with its framework, the class. The following is a summary of the classes used in HealthKit, as shown in table 1-1 .
1-1 HealthKit Framework System
HealthAppa new chart summary is sampled to give your health and fitness data a glance,1.5is shown. Apple has provided a developer with a product calledHealthKitnew tools to make all incredible health and fitnessappwork closely together to give more power to the user's health. And that may just be the first step in a healthy revolution.
HealthApp
Figure 1.5 Chart Summary
heart rate, calories burned, blood sugar, cholesterol, etc., new health App This data will be collected in the same place, 1.6 as you can see with a tap, let the user see the current health profile plainly.
HealthAppset up every detail to share what data for each health and fitnessAppdetermined entirely by the user,1.7is shown. HealthAppYou can also create a first-aid card,1.8is shown.
Figure1.6Data Collection Figure1.7Setting Details Figure1.8Emergency card
1.2.3CreateApp IDSpecial Needs
Developer-CreatedHealthKitapplications require developers to apply for and download development certificates to implement some Healththe functionality associated with the application. When you createApp IDWe need to be aware thatApp Serviceshere, you need toHealthKitselected so that you can activateHealthKitServices,1.9is shown.
Figure 1.9 App ID
This article is selected from: HealthKit Development Quick Start Tutorial University PA information, published in the Open Source China Blog, reproduced please indicate the source, respect the technology respect the IT person!
HealthKit Development Quick Start Tutorial HealthKit framework System Create health AppID