Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/blog/keep-menu-bar-running-after-quitting-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Unfortunately, the menu bar item will disappear as soon as the user quits the ap

## Interrupting the app's termination

As you will probably have guessed by now, the keep to keeping the menu bar item visible after the user quits the app is to not let the app terminate.
As you will probably have guessed by now, the way to keep the menu bar item visible after the user quits the app is to avoid the app termination.

Apple provides developers with a way to control and modify the app's termination process by implementing the [applicationShouldTerminate]() method in the app's delegate.

Expand Down Expand Up @@ -224,4 +224,4 @@ class AppDelegate: NSObject, NSApplicationDelegate {
return .terminateCancel
}
}
```
```