From 8e71e41bc901beec1aedabe8c9bc6c94df2e295a Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Fri, 13 Apr 2018 06:45:20 +0200 Subject: iOS: Be more explicit about how to get access to the native image picker Change-Id: I24c265698d118544a470ac91c54d57895544a5ac Reviewed-by: Richard Moe Gustavsen --- src/dialogs/qquickplatformfiledialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dialogs') diff --git a/src/dialogs/qquickplatformfiledialog.cpp b/src/dialogs/qquickplatformfiledialog.cpp index aaf15197..1a969e15 100644 --- a/src/dialogs/qquickplatformfiledialog.cpp +++ b/src/dialogs/qquickplatformfiledialog.cpp @@ -318,7 +318,9 @@ void QQuickPlatformFileDialog1::accept() {shortcuts.pictures}, a native image picker dialog will be used for accessing the user's photo album. The URL returned can be set as \l{Image::source}{source} for \l{Image}. - This feature was added in Qt 5.5. + For this to be enabled, the Info.plist assigned to QMAKE_INFO_PLIST in the project file must + contain the key, NSPhotoLibraryUsageDescription. See Info.plist documentation from Apple for + more information regarding this key. This feature was added in Qt 5.5. \sa shortcuts */ -- cgit v1.2.1