> On 26 Oct 2017, at 15:12, ekke <e...@ekkes-corner.org> wrote: > > Jeffrey, > > thx > > at the moment it's ok for me to use > QStandardPaths::standardLocations(QStandardPaths::PicturesLocation).last() > > Using Objective-C++ Photos framework would give some more comfort, > but wouldn't help to access these Photos from QML
>From QML, the QtQuick.Dialogs FileDialog has special support for getting a >native photo picker: http://doc.qt.io/qt-5/qml-qtquick-dialogs-filedialog.html#folder-prop > it seems that there's no way to construct an URL in QML to access files from > assets-library > so probably the best way is to write an ImageProvider to access these Images > from QML After you choose the photo, you will get a URL which works AFAIK. The code is in qtbase/src/plugins/platforms/ios/optional/nsphotolibrarysupport/qiosfileengineassetslibrary.mm (called from qiosfiledialog.mm) > Am 26.10.17 um 14:52 schrieb Jeffrey Brendecke: >> >>> On 26. Oct 2017, at 13:10, interest-requ...@qt-project.org wrote: >>> >>> ... >> >> Hello Ekke, >> >> It looks like the Asset Library Framework has been deprecated as of iOS 9: >> >> https://developer.apple.com/documentation/photos/phasset?language=objc >> >> The new way to access the assets is through the Photos framework. The above >> link contains links to the relevant classes. The Photos framework is feature >> rich and allows you to access images separate from their adjustment data or >> with the adjustments applied. If you think Qt is using the deprecated API, and needs to be updated, you can write up a bug about it. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest