Can your iPhone app have Home Screen and Lock Screen widgets?
Yes. Borel builds Home Screen and Lock Screen widgets, buttons included, into native iPhone apps for the App Store. What they show, and ideas to try.

By Sigsten Gustavii· · Updated · 8 min read
Build your own habit tracker with Borel
Build this appA widget is often the part of an app that earns its place on a phone. Not the app itself, but the small square on the Home Screen: today's steps, the days to a trip, the habits still open, readable without a tap. For an app you want people to keep, a widget is a reason to come back every day.
This guide explains what a widget is in Apple's terms, what Borel builds into one, ideas that suit a widget, what Apple's review looks for, and how the widget reaches the App Store and your own iPhone.
| Question | Answer |
|---|---|
| Does Borel build Home Screen widgets? | Yes: small, medium and large |
| And Lock Screen widgets? | Yes: round, rectangular and one line of text |
| Can a widget have buttons? | Yes: they work without opening the app |
| Does the widget need the internet? | No: it shows what the app saved on the phone |
| How do I ask for one? | In your own words, in the chat |
| Does the widget go to the App Store? | Yes, with the app, on Pro with Apple's Developer Program |
| Can it run on my own iPhone? | With Borel Companion: new, so check it on your Home Screen |
What a widget is, in Apple's terms
Apple's guide to widgets on iPhone puts it in one line: with widgets, you get timely information from your favourite apps at a glance. People add one by holding a finger on the Home Screen, tapping Edit and then Add Widget, and they can also place widgets on the Lock Screen, next to the clock.
Underneath, a widget is not a small window into the running app. It is a separate little program that ships inside the app. Apple's developer page on creating a widget describes it as its own part of the project, drawn with SwiftUI, that hands iOS a timeline: what to show now, and when to show something else. iOS draws it from that timeline, so the app does not have to be open.
Three details from Apple's pages shape every widget:
- The app is opened once. Apple says a widget shows up in the widget gallery after the person has opened the app that contains it.
- The widget and the app share a place for data. Apple calls it an app group: the app saves what the widget should show, and the widget reads it.
- Widgets can have buttons. Apple's WidgetKit overview says people can use buttons and toggles in a widget without opening the app.
What Borel builds into a widget
Ask for a widget in your message, and Borel writes it as that separate part of your app, in Swift with WidgetKit, beside the screens it already builds. You never touch the extra part or the shared place for data: Borel sets both up and keeps them working when you change the app later.
- Sizes for every spot. Small, medium and large on the Home Screen, and three shapes on the Lock Screen: a circle for a ring or a number, a rectangle for two or three short lines, and one line of text above the clock.
- Buttons that work on the widget. A button or a switch ticks a habit or adds a glass of water right there, and the app shows the same change when it opens.
- Always the latest numbers. The app saves a small snapshot of what the widget shows each time that changes, and the widget redraws from it.
- A countdown that keeps moving. Something that changes with the clock, such as the days to a trip, gets the coming hours planned ahead, so it moves on by itself.
- No signal needed. The widget never goes online. It shows what the app last saved on the phone, so it reads the same on a plane.
- A tap opens the app. Tapping the widget anywhere outside its buttons opens your app, the way iPhone owners expect.
When the build is done, Borel's reply says in one sentence how to add the widget: hold the Home Screen, tap Edit, then Add Widget, and find your app. The widgets page shows the same parts with a prompt to start from.
Widget ideas that earn their spot
The widgets people keep show one thing that changes during the day, and let them act on it in a tap. A few that fit an app on the App Store:
| Idea | What the widget shows | Size |
|---|---|---|
| A habit tracker | Habits left today, with a button to tick the next | Small, Home Screen |
| A trip or event countdown | Days to go, moving on by itself | Rectangle, Lock Screen |
| A water log | Glasses so far in a ring, with a plus button | Circle, Lock Screen |
| A study streak | Days in a row, and today's session | Small, Home Screen |
| A shift planner | The next shift and when it starts | Medium, Home Screen |
| A budget | What is left this month | One line, Lock Screen |
Pair the widget with a reminder for the moments a glance isn't enough. Borel apps can schedule reminders on the phone, so the widget shows the number and the reminder nudges at eight in the evening if a habit is still open.
A habit tracker with three habits a day. Add a small Home Screen widget that shows how many are left today, with a button to tick the next one, and a Lock Screen widget with my streak in a ring.Keep the widget and the app in step
Whatever the widget shows should be the same number the app opens on. Ask for that number at the top of the main screen in large type, so a tap on the widget lands on the same thing it showed, only bigger. For a habit tracker, that is today's habits; for a countdown, the days left.
What Apple's review asks of a widget
A widget goes to Apple's review with the app. Guideline 2.5.16 of the App Store Review Guidelines says widgets should be related to the content and functionality of your app. In practice that means three things:
- Show the app's own data. A habit app's widget shows habits, not the weather.
- Name it plainly. The widget's name and description are what people read when they add it; Borel writes both in plain words.
- Make the tap land somewhere sensible. Tapping the widget opens the app on the thing the widget showed.
Stamp, Borel's check before publishing, reads the app for what App Review turns down, so a widget that strays from the app is caught before Apple sees it.
From your words to the App Store
The path is the same as for any Borel app, with the widget riding along:
- Describe the app and its widget. Plain words, or a prompt like the one above. No code and no Mac.
- 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 streamed into your browser, so you try the app as it builds.
- Publish it. With Pro and Apple's Developer Program ($99 a year), Borel builds the App Store version on its Mac, widget included, prepares the listing and screenshots, and walks you through sending it for review.
- Add it to your Home Screen. Once the app is on an iPhone, hold the Home Screen, tap Edit, then Add Widget.
See how publishing works for each step, from the listing to Apple's answer.
On your own iPhone with a free Apple ID
You can also put the app on your own iPhone without the App Store. Borel Companion, a free download for Windows and Mac, signs it with your Apple ID and installs it, a cable once, then Wi-Fi. Installing with it comes with a paid plan, Pro, from $25 a month; pricing has the details.
With a free Apple ID, Apple's own rules apply, from its membership comparison: an app is signed for 7 days at a time, which Companion renews while it runs, a phone holds up to 3 such apps, and a free account gets 10 app identifiers a week. A widget is a second part of the app with an identifier of its own, so an app with a widget uses two of those 10. The shared place for data, the app group, is on Apple's list for free accounts.
Installing this way is the newer road for a widget, so check yours on your own Home Screen before you rely on it.
Common mistakes
- Putting everything on the widget. One number or a short list reads at a glance; a whole screen does not.
- A widget about something else. Apple's review expects it to show the app's own content.
- Forgetting to open the app once. The widget appears in the gallery after the app has been opened.
- Expecting the widget to fetch news by itself. It shows what the app saved; open the app to bring in anything new.
- Hiding the widget's number in the app. Put the same number at the top of the screen the app opens on.
- Skipping reminders. A widget shows; a reminder nudges. Most apps want both.
For every other feature a Borel app can use, from the motion sensors to Siri, see native iOS features.
Questions people ask
Can Borel build a Home Screen widget for my app?
Yes. Ask for one in your own words, and Borel writes it in Swift with Apple's WidgetKit as a separate part of your app, in small, medium or large.
What about a Lock Screen widget?
Yes. Lock Screen widgets come in three shapes: a circle, a rectangle and one line of text above the clock.
Can a widget have buttons?
Yes. A button or a switch on the widget ticks a habit or adds a glass without opening the app.
Does the widget need the internet?
No. It shows what the app last saved on the phone, so it reads the same with no signal.
Does the widget go to the App Store with my app?
Yes. Borel builds the App Store version with the widget inside it, which takes Pro and Apple's Developer Program.
How do people add the widget?
They hold the Home Screen, tap Edit, then Add Widget, and find your app. The widget appears there after the app has been opened once.
Can I add a widget to an app I've already built?
Yes. Ask for one in the chat, for example “add a widget with today's total”, and Borel adds it to the app you have.
Does a widget use any of a free Apple ID's limits?
Yes. A widget is a separate part with an identifier of its own, and Apple gives a free account up to 10 identifiers a week.
A good widget is the part of an app people see most, so I give it as much care as the app itself. Tell me what yours shows.
– Sigsten
Build your own habit tracker
Your idea is already written. Press the button, read it, change anything, and Borel builds it, free to start.
A habit tracker with three habits a day, a small Home Screen widget with how many are left and a button to tick the next one, and a Lock Screen widget with my streak in a ring.Build this app