How to Make an iPhone App Work Offline (2026)

Make an iPhone app that works offline: what can run without signal, SwiftData on the phone, when you need the cloud, and the steps with Borel.

By Sigsten Gustavii· · 8 min read

To make an iPhone app work offline, keep each person's data on the phone with SwiftData, use features that run on the device, save the cloud for data that must be shared or synced, and design every screen so it still makes sense with no signal. With Borel, you describe the app and say it should work offline, and it keeps the data on the iPhone.

What works offline in a native iPhone app
FeatureOffline?Why
Data saved with SwiftDataYesIt lives on the phone
RemindersYesScheduled on the phone
Face ID lockYesChecked on the phone
Camera, photos, document and text scanningYesApple's frameworks run on the phone
Charts of saved dataYesDrawn on the phone
Speech to textOftenApple's Speech framework can run on the device for supported languages
Map tilesNoLoaded from Apple's servers
Shared or synced data in the cloudNoNeeds a connection to load and save
AI answers and picturesNoBorel AI runs in the cloud

Offline is where native apps beat web apps most clearly. A gym in a basement, a plane, a cabin, the underground: an app that opens instantly and saves a set there feels solid, and one that shows a spinner feels broken. The good news is that for personal apps, offline is the natural default.

Why native apps are better offline

A web app on iPhone can store some data in the browser, but Safari manages that storage and can clear it under its own storage policy, and much of what a web app does needs the network. A native app keeps its data in its own container on the phone, with Apple's SwiftData, and opens straight into it. That is how Notes, Reminders and most of the apps people trust with their own data work.

On the phone or in the cloud?

Choosing where an app's data lives
QuestionIf yesIf no
Is it one person's own data?Keep it on the phoneShared data needs the cloud
Must it appear on a second device?Cloud with an accountThe phone is enough
Do other people need to see it?Cloud with access rulesThe phone is enough
Must it survive losing the phone?Cloud, or rely on the iPhone's own backupThe phone is enough

Personal apps, like a workout log, a budget, a journal, a recipe book or a habit tracker, usually answer no to the sharing questions, so they live happily on the phone. Social apps, marketplaces and shared lists need the cloud and therefore a connection for the shared parts. Read how to add a database to an iPhone app for the cloud side.

How SwiftData keeps data on the phone

In a Borel app that works offline, each kind of thing the app keeps (a workout, a habit, a recipe, an expense) is a SwiftData model saved on the iPhone and read straight into its lists. There is no loading screen and no account. The app opens with a few starter rows people can edit or delete, so it shows what it does from the opening screen instead of an empty list. The data stays in the app's own container and is included in the iPhone's regular backups.

Designing for no signal

  1. Save instantly, on the phone. Never make someone wait for a network to save a set or a note.
  2. Mark what needs a connection. If a screen shows cloud data or AI, say "You're offline" calmly instead of an error.
  3. Keep the core loop offline. In a workout app, logging must work offline; sharing a summary can wait.
  4. Avoid surprise sign-ins. A personal app that asks for an account before showing anything breaks offline and annoys people.
  5. Keep pictures local when they belong to one person, so a plant diary shows its photos on a plane.

Offline app ideas

Apps that work well offline
AppWhat it keeps on the phoneNative extras
Workout logSessions, sets, reps and weightsRest timer, haptics, charts
Monthly budgetCategories and spendingCharts, Face ID lock
Recipe bookRecipes and a shopping listText scanning from a cookbook
JournalEntries and photosFace ID lock, an evening reminder
Trip notesPlaces, notes and photosMaps of saved places when online
Field checklistInspections with photosDocument scanning

Borel's real builds include a workout log and a budget app you can look at.

Common offline mistakes

  • Putting personal data in the cloud by habit. If nobody else needs it, the phone is faster, free and private.
  • A sign-in wall. Forcing an account before the app shows anything breaks the offline promise on the opening screen.
  • Spinners that never end. A screen waiting for a network that isn't there should say so in one calm sentence and show what it can.
  • Downloading pictures each time. Pictures a person added themselves belong on the phone.
  • Forgetting exports. People trust offline apps more when they can export their data, for example as a PDF or a file they share.

When an offline app needs the cloud later

Apps grow. A personal recipe book becomes a family recipe book; a workout log gains a coach. When that happens, ask Borel for accounts and sharing, and it adds sign-in and a database in Borel Cloud for the shared parts. Be aware of the trade-off: shared data needs a connection to load and save, so keep the personal core on the phone and move only what must be shared.

A middle path suits many apps: personal data on the phone, and a small shared part in the cloud. A family recipe app can keep each person's own recipes offline and put only the shared shopping list in the cloud. When the phone is offline, the personal part keeps working and the shared list says plainly that it needs a connection.

Testing offline

Test the real thing on a real phone. Install the app with Borel Companion on Pro, switch on Airplane Mode, and use it for a day: add data, close the app, reopen it, restart the phone. Everything that should work offline should feel exactly the same. The iOS Simulator in your browser is good for building the screens before that.

How to choose the right way to build an offline app

  • Borel, for a native iPhone app that keeps data on the phone with SwiftData by default, built from a description.
  • SwiftData by hand in Xcode, if you are a Swift developer and want to design the models and syncing yourself.
  • A web app, only if offline use is rare; the browser's storage is more limited on iPhone.
  • [CatDoes](/compare/catdoes) or [a0](/compare/a0), if you need Android and accept React Native's own storage approach.

How to do it with Borel, step by step

Step 1: Describe the app and say offline

A prompt to start from
Make a workout log that works fully offline. Keep everything on my phone, no account. I log sessions with exercises, sets, reps and weight; a rest timer starts after each set and buzzes when done. Show last session's numbers next to this one, and charts of my heaviest lift per exercise over time. Lock the app with Face ID. Remind me at 18:00 on Monday, Wednesday and Friday.

Rivet writes the app in Swift with SwiftData models on the phone, and Xcode builds it on Borel's Mac.

Step 2: Use it in the simulator

Log a few sessions on the live iPhone in your browser and check the charts and the timer.

Step 3: Airplane Mode test

Install it on your iPhone with Companion (Pro), turn on Airplane Mode and use it through a real workout.

Step 4: Keep it or publish it

Keep it on your own phone, or publish it to the App Store under your Apple Developer account. Read more on offline data.

The Bottom Line

An iPhone app works offline when its data and features live on the phone. SwiftData keeps each person's data in the app's own container, and reminders, Face ID, the camera and charts all run without signal. Borel builds personal apps that way by default and adds the cloud only for what must be shared. Describe yours on Borel, then try it in Airplane Mode.

Questions people ask

Can an iPhone app work without internet?

Yes, when its data is stored on the phone and its features run on the phone. Apple's SwiftData keeps the data, and features like reminders, Face ID, the camera and charts need no connection.

What is SwiftData?

Apple's framework for saving an app's data on the device, introduced for iOS 17. Borel uses it for apps whose data belongs to one person.

Do offline apps need an account?

No. Data on the phone needs no account. Accounts are for data that must sync to other devices or be shared with other people.

Will my data be lost if I lose my phone?

Data saved on the phone is included in the iPhone's regular backups. If it must also be on another device, add accounts and a cloud database.

Can AI features work offline?

Borel AI runs in the cloud, so it needs a connection. Apple's on-device tools, like text scanning and, for many languages, speech to text, work offline.

Do maps work offline?

Map tiles need a connection. The list of saved places, with names, notes and photos, can still be on the phone and work offline.

Is a web app good offline on iPhone?

Less so. Safari limits and can clear a web app's stored data, and many features need the network. A native app keeps its data in its own container.

Can an offline app still be published on the App Store?

Yes. Apple reviews what the app does, not whether it uses the internet. A complete offline app with a privacy policy is a normal submission.

Can people move their data to a new iPhone?

Yes, through the iPhone's own backup and restore, which includes the app's data. For live sync between two devices, add accounts and the cloud.

Does an offline app cost anything to run?

Not for the data on the phone: there is no server to pay for. Running costs only start when an app uses the cloud or AI, which in a Borel app come from the app's balance.

How do I test an app offline?

Install it on your iPhone, turn on Airplane Mode and use it through a real day, including closing and reopening it.

I think personal apps should open instantly in a basement, with no signal at all. Try yours in Airplane Mode.

– Sigsten

Make your iPhone app in Borel

Describe the app you want and see its first screens before you pay anything.

See your app free

Keep reading