Retrieve images from a DJI Drone with EXIF data

邮差的信 提交于 2019-12-02 02:04:47

There's also a similar issue in their forums regarding empty metadata and downloadSelectedFilesWithPreparation. The user that created the post also found a solution:

I solved the problem by not converting the NSData into any format instead saved the NSData directly. Using PHAssets and temporary file to store the NSData as PHAssets only accepts data from URL.


Try using fetchFileDataWithOffset:updateQueue:updateBlock (it will be called fetchFileData(with:updateQueue:updateBlock) in Swift)

[...] fetching the media data will return all data for a video or image


Sample code (objc): here

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!