Can your iPhone app read and save Apple Health data?

Yes. Borel builds native iPhone apps that read and save Apple Health data with HealthKit, asked for one kind at a time. What Apple requires, and ideas.

By Sigsten Gustavii· · Updated · 8 min read

Build your own step dashboard with Borel

Build this app

Apple Health holds years of numbers on most iPhones: steps, sleep, workouts, heart rate, weight. An app that can read them starts out knowing its owner, and an app that can save to them fits into the routine people already have. That makes Health one of the strongest features a fitness, sleep or habit app can offer.

This guide explains how an app reaches Apple Health, what Borel builds, ideas that suit it, the rules Apple sets for health data on the App Store, and how the app reaches your own iPhone. It is about software only: nothing here is health or medical advice, and no app described here measures, diagnoses or treats anything.

Apple Health in a Borel app, as of 27 November 2026
QuestionAnswer
Can a Borel app read Apple Health?Yes, each kind of data the person allows
Can it save to Apple Health?Yes, such as a workout or a glass of water
Does it see everything in Health?No: only the kinds the person allows, one by one
How do I ask for it?In your own words, in the chat
Does it go to the App Store?Yes, on Pro with Apple's Developer Program
Does the browser preview show my data?No: the iPhone in the browser has no health history
Can it count steps without Health?Yes, from the iPhone's own motion sensors

How an app reaches Apple Health

Apple Health is an app. The store of data behind it is reached through a framework Apple calls HealthKit, and any app that wants in goes through the same steps, listed in Apple's guide to setting up HealthKit: switch on the HealthKit capability for the app, check that health data is available on the device, open the store, and ask permission.

The permission step is stricter than for most iPhone features. Apple's page on protecting user privacy says people grant or refuse each kind of data separately, so an app could be allowed to read steps and nothing else. If someone refuses to let it read a kind of data, the app is not even told: to the app it looks as though there is no such data.

The same page says the data is stored on the device and encrypted while the phone is locked. That is part of why people trust the Health app, and why Apple holds every app that touches it to its own rules, covered further down.

What Borel builds

Ask for Apple Health in your message, naming the numbers you want, and Borel writes it in Swift with HealthKit, inside the app it builds for you:

  • Reading. The app reads the kinds of data it needs, such as today's steps, last night's sleep or this week's workouts, and draws them with Apple's Swift Charts.
  • Saving. The app can save what the person logs, such as a glass of water, a workout or a weight, so it shows in the Health app too.
  • Asking at the right moment. The app asks for Health when the person taps the feature, for only the kinds of data that feature uses, never the moment it opens.
  • Both permission sentences. iOS shows a sentence for reading and one for saving. Borel writes both, because App Store Connect asks for both.
  • A clear empty state. iOS never tells an app that reading was refused, so when a read comes back empty, the app says in plain words that there is no data yet, or that Health access is off in Settings.
  • The rest keeps working. Where a copy of the app has no Health, the app shows a short note in place of the Health parts and everything else runs as usual.

Health data that an Apple Watch records reaches apps the same way, through Apple Health, with the same permission per kind of data. Borel builds the iPhone app; it doesn't build apps that run on the watch itself.

Ideas that use Apple Health well

Apple Health ideas, and what each reads or saves
IdeaWhat it reads or saves
A step dashboardReads steps for each day of the week, and charts them
A water logSaves each glass you log to Apple Health
A sleep diaryReads last night's sleep and adds how you felt
A workout journalReads workouts, with notes and photos of your own
A weight logSaves a weight each morning and draws the trend
A walking challengeReads steps toward a goal you set, with streaks
A prompt for an app with Apple Health
A step dashboard that shows my steps from Apple Health for each day this week as a bar chart, and a button that logs a glass of water to Apple Health.

Pair Health with what Borel builds well around it: charts for the week at a glance, reminders at a time the person picks, and a Face ID lock for numbers people would rather keep to themselves.

Steps without Apple Health

Every iPhone counts steps with its own motion sensors, and an app can read that count through Apple's Core Motion pedometer, with one Motion & Fitness permission. The motion sensors page shows how Borel builds it. Apple's pedometer page says the phone keeps the past seven days for an app to ask about, so a step app saves each day's total itself to build a longer history. For an app that only needs steps, this is the lighter route.

Apple's rules for health data on the App Store

An app that uses HealthKit goes to Apple's review with conditions most other features do not carry. Borel builds to them, and they are worth knowing before you publish:

  • Health or fitness only. Apple says an app must not use HealthKit unless it is for health or fitness purposes, and that this must be clear in the app.
  • Never for advertising. Data from HealthKit may not be used for advertising or sold to data brokers.
  • A privacy policy. Apple requires one for any app that uses HealthKit, and a Borel app shows its Terms and Privacy Policy in its settings.
  • No made-up numbers. Guideline 5.1.3 says apps must not write false or inaccurate data into HealthKit, and may not store personal health information in iCloud.
  • A sentence explaining why. The app says, in its own words, why it reads or saves health data, and iOS shows that sentence when it asks.

Stamp, Borel's check before publishing, reads the app for what App Review turns down, so a missing sentence or a stray claim is caught before Apple sees it.

A tracker records; it does not advise

Health apps invite big promises, so keep yours plain. A tracker is a notebook with charts: it can show that you walked more this week than last, and it should not say what that means for anyone's health. If a number worries someone, the person to ask is a doctor or another qualified professional.

From your words to the App Store

  1. Describe the app, naming the Health numbers it reads or saves.
  2. Preview it on a live iPhone. Borel writes the Swift, compiles it with Xcode on its own Mac and runs it in the iOS Simulator in your browser. That iPhone has no health history, so the Health parts show their empty state there.
  3. Publish it. With Pro and Apple's Developer Program ($99 a year), Borel builds the App Store version on its Mac with HealthKit switched on, prepares the listing, screenshots and privacy answers, and walks you through sending it for review.
  4. Try it with real numbers. On an iPhone, the app asks for each kind of data, and your own history appears.

See how publishing works for each step.

On your own iPhone with a free Apple ID

To try the app with your own history before publishing, put it on your iPhone with Borel Companion, a free download for Windows and Mac. Installing with it comes with a paid plan, Pro, from $25 a month; see pricing.

On Apple's side, HealthKit is one of the few services its list of capabilities gives a free account, and Companion asks Apple for it for an app that uses Health. Where Apple doesn't turn it on for a copy, the app shows its short note in place of the Health parts. Apple's free-account terms still apply: 7 days per install, which Companion renews while it runs, and three apps on a phone.

Common mistakes

  • Asking for every kind of data. Ask for the few the app uses; people allow a short list more readily.
  • Reading the empty browser preview as a fault. The simulator has no health history; your phone does.
  • Expecting months of step history from the pedometer. It keeps seven days; Apple Health keeps more.
  • Writing guesses into Health. Save only what the person logged or measured, as Apple's rules require.
  • Reading meaning into a chart. The app shows numbers; what they mean is a question for a professional.
  • Forgetting the privacy policy. Apple requires one for every app that uses HealthKit.

For every other feature a Borel app can use, see native iOS features.

Questions people ask

Can a Borel app read my Apple Health data?

Yes, the kinds of data you allow, such as steps, sleep or workouts. iOS asks for each kind separately, and the app sees nothing else.

Can it save to Apple Health?

Yes. The app can save what you log, such as a glass of water or a workout, so it shows in the Health app too.

Can a Borel app read workouts from my Apple Watch?

Workouts an Apple Watch records are saved in Apple Health, so the app reads them the same way, with your permission. Borel doesn't build apps for the watch itself.

Why is there no data in the browser preview?

The iPhone in your browser is a simulator with no health history, so the Health parts show their empty state there. Your own numbers appear on your phone.

What does Apple require of an app with Apple Health?

A health or fitness purpose, a privacy policy, no advertising use, no false data, and a sentence saying why the app reads or saves health data.

Does an app with Health go to the App Store?

Yes. Borel builds the App Store version with HealthKit switched on, which takes Pro and Apple's Developer Program.

Can I add Apple Health to an app I've already built?

Yes. Ask in the chat, for example “read my steps from Apple Health”, and Borel adds it to the app you have, permission sentences included.

Is a tracker I build a medical app?

No. It records numbers the phone counts or the person enters. It does not diagnose or advise; for health questions, ask a qualified professional.

I think a tracker feels finished when it can see what the phone already knows. If you build one with Apple Health, tell me which numbers you chose.

– Sigsten

Build your own step dashboard

Your idea is already written. Press the button, read it, change anything, and Borel builds it, free to start.

A step dashboard that reads my steps from Apple Health for each day this week as a bar chart, with a button that logs a glass of water to Apple Health and a reminder at 8 pm.
Build this app

Keep reading