Update macOS URL handling documentation

macOS has now similar support for https and custom uri schemes as iOS.

Fixes: QTBUG-124340
Change-Id: Ie17237c9625bac5cf110f06df99f1b94bf5ded42
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
Juha Vuolle 2024-04-30 11:28:17 +03:00
parent 664c7ffb21
commit 33ea383e0e
1 changed files with 5 additions and 4 deletions

View File

@ -238,10 +238,11 @@ bool QDesktopServices::openUrl(const QUrl &url)
the destruction of the handler object does not overlap with concurrent
invocations of openUrl() using it.
\section1 iOS
\section1 iOS and \macos
To use this function for receiving data from other apps on iOS you also need to
add the custom scheme to the \c CFBundleURLSchemes list in your Info.plist file:
To use this function for receiving data from other apps on iOS/\macos
you also need to add the custom scheme to the \c CFBundleURLSchemes
list in your Info.plist file:
\snippet code/src_gui_util_qdesktopservices.cpp 4
@ -256,7 +257,7 @@ bool QDesktopServices::openUrl(const QUrl &url)
\snippet code/src_gui_util_qdesktopservices.cpp 7
iOS will search for /.well-known/apple-app-site-association on your domain,
iOS/\macos will search for /.well-known/apple-app-site-association on your domain,
when the application is installed. If you want to listen to
\c{https://your.domain.com/help?topic=ABCDEF} you need to provide the following
content there: