DefaultBrowser is a demo SwiftUI app for changing default browser on macOS.
Note! DefaultBrowser displays installed browsers that can be found on the included incomplete list of common macOS browsers (DefaultBrowser/Resources/browsers.json
).
- Minimum macOS version: 10.15
DefaultBrowser uses Launch Services API for changing default browser and modifies http
and https
URL scheme handlers.
'LSCopyDefaultHandlerForURLScheme' was deprecated in macOS 10.15: Use LSCopyDefaultApplicationURLForURL() instead.
'LSCopyAllHandlersForURLScheme' was deprecated in macOS 10.15: Use LSCopyApplicationURLsForURL() instead.