I am trying to fetch images from photo library within the range of two dates and I am getting the images successfully.
And I am also getting the info of the image by using below code.
PHContentEditingInputRequestOptions *options = [[PHContentEditingInputRequestOptions alloc] init];
options.networkAccessAllowed = YES; //download asset metadata from iCloud if needed
[asset requestContentEditingInputWithOptions:options completionHandler:^(PHContentEditingInput *contentEditingInput, NSDictionary *info) {
CIImage *fullImage = [CIImage imageWithContentsOfURL:contentEditingInput.fullSizeImageURL];
//NSLog(@"fullImage=%@", fullImage.properties.description);
}];
But image info giving me in string format.
I tried to convert it into NSDictionary format(for get lat and long) but getting null output.
How can get lat and long of image ?
if there is an another way to get info please help me
Thank you in advance