How to get a NSDATE from UIImage?

前端 未结 3 988
栀梦
栀梦 2021-01-07 04:08

How do i get a date or metadata from a UIImage in this case:

//UIImagePickerControllerSourceType
picker.sourceType = UIImagePickerControllerSourceTypePhotoLi         


        
3条回答
  •  迷失自我
    2021-01-07 04:49

    NSDictionary *metadata = [info objectForKey: UIImagePickerControllerMediaMetadata];
    NSLog(@"%@",metadata);
    

    Choose what you need from metadata.

提交回复
热议问题