如何从UIImage获得NSDATE? [英] How to get a NSDATE from UIImage?
本文介绍了如何从UIImage获得NSDATE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在这种情况下如何从UIImage获取日期或元数据:
How do i get a date or metadata from a UIImage in this case:
//UIImagePickerControllerSourceType
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
//delegate return
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info{
// po info in console -> there is no metadata of the image where i can find the date
// Has anyone an idea how to get it?
}
推荐答案
如果你是指图像中的EXIF元数据(包括日期信息),您可以查看此问题以获取有关如何访问它的信息:
If you are referring to EXIF metadata in the image (which includes date information), you can see this question for information on how to access it:
这篇关于如何从UIImage获得NSDATE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文