如何从ALAsset获取exif信息? [英] How to get exif information from ALAsset?

查看:103
本文介绍了如何从ALAsset获取exif信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从所选资产中获取 exif 信息,并将其一部分显示在屏幕上.

I need to get exif information from selected asset and to display part of it on the screen.

推荐答案

[[asset defaultRepresentation] metadata];

返回给定资产表示形式的元数据词典字典.请查看此词典中是否有您感兴趣的数据.我不确定,但我认为该词典(和子词典)中的键与

returns a dictionary of dictionaries of metadata for the given asset representation. Check out this dictionary for the data you're interested in. I am not sure but I think the keys in that dictionary (and subdictionaries) are the same as the ones listed under CGImageProperties Reference.

这篇关于如何从ALAsset获取exif信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆