ALAssetPropertyLocation returning nil

时光毁灭记忆、已成空白 提交于 2019-12-25 18:30:07

问题


I want to get location information of any image/video from asset library using ALAssetPropertyLocation but it's returning nil information.Followings are my fraction of code.

[workingDictionary setObject:[asset valueForProperty:ALAssetPropertyLocation] forKey:@"Location"];

Can anyone give me any image where location metadata is present.I tried with image taken from iPhone photo library but the things are same.Can anyone tell me where I am doing wrong?

来源:https://stackoverflow.com/questions/9581515/alassetpropertylocation-returning-nil

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