How apps work around the notch (safe area)
macOS tells apps where the notch is through the screen's safe area. How the safe area works, why some apps look odd near the notch, and what users can do.
On this page
On notched MacBooks, macOS describes the area apps can safely draw in as the screen's safe area. The notch, and the menu bar strip around it, sit outside it. Most apps never notice, because windows stay below the menu bar. Apps that draw edge to edge, such as games, need to read the safe area or ask macOS to scale them below the camera.
The safe area in plain terms
A screen's safe area is the part guaranteed to be fully visible. On a classic rectangular screen, that's the whole screen. On a notched MacBook, macOS reports an inset at the top: the strip holding the notch. Anything drawn there might end up behind the camera.
For ordinary windows, macOS handles this already. The menu bar fills that strip, and windows can't be dragged under it. The safe area matters when an app takes over the whole screen and draws its own interface right up to the edge.
What developers can read
For developers, AppKit's NSScreen exposes the details on macOS 12 and later:
| Property | What it tells an app |
|---|---|
safeAreaInsets | How far in from each edge content is safe; the top inset covers the notch strip |
auxiliaryTopLeftArea | The usable area to the left of the notch |
auxiliaryTopRightArea | The usable area to the right of the notch |
On screens without a notch, the top inset is zero and the auxiliary areas are empty. A well-behaved full-screen app checks these and keeps important controls inside the safe area. Apple's developer documentation covers each property.
Why some apps look odd near the notch
Apps written before notched Macs existed assume the whole screen is a rectangle. In windowed mode with their own custom title bars, or in their own full-screen modes, they can put buttons, scores or menus where the notch is. You see half a button disappear behind the camera.
macOS has a fallback for this. An app can declare that it prefers a compatibility mode, and users can turn it on per app:
- Quit the app.
- Select it in Applications in Finder and choose File → Get Info.
- Turn on Scale to fit below built-in camera.
The app then runs as if the screen ended below the notch. The checkbox only appears for apps that may need it.
How notch apps use the same information
Notch apps do the opposite of most apps: they deliberately draw in the strip outside the safe area. To do that, they read where the notch is on the built-in screen and size their window around it. OneNotch, for example, draws around the hardware notch on notched MacBooks and, on displays with no notch, shows a pill 120 points wide and as tall as the menu bar at the top centre. Because the closed window ignores mouse clicks, the menu bar beside it still works. More on the category in what is a notch app.
The menu bar is part of the story
The safe-area strip and the menu bar are the same height on notched MacBooks. macOS makes the menu bar taller there so it lines up with the bottom of the notch, which is why menu bar items look further from the top edge than on older Macs. See why the menu bar is taller on notched MacBooks.
FAQs
Why does a game's interface go behind the notch?
The game draws to the full screen without checking the safe area. Turn on Scale to fit below built-in camera in the app's Get Info window, or use its windowed mode.
Does the safe area change on an external display?
External displays have no notch, so their safe area is the whole screen.
Is the safe area the same in full screen?
In standard macOS full screen, the app is placed below the notch and macOS fills the strip with black. See the notch in full-screen apps.
Can a website detect the notch?
Not in any reliable way. Browsers on Mac show web pages in a window below the menu bar, so pages never reach the notch strip.