[Interest] Qt iOS - HowTo get access to Images stored at device
ekke
ekke at ekkes-corner.org
Thu Oct 26 15:12:26 CEST 2017
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
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
ekke
Am 26.10.17 um 14:52 schrieb Jeffrey Brendecke:
>
>> On 26. Oct 2017, at 13:10, interest-request at qt-project.org
>> <mailto:interest-request at 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.
>
> The solution involves working with Objective-C++, but using this API
> is probably unavoidable given that Apple has moved away from managing
> images as files on a local file system.
>
> I hope this is of help to you,
>
> Jeffrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171026/0e374221/attachment.html>
More information about the Interest
mailing list