forum

Home / DeveloperSection / Forums / How to get last modified date using ALAsset class in iOS

How to get last modified date using ALAsset class in iOS

Mark Devid 1526 20-Dec-2015
I want to get the last modified date from ALAsset type video?
I tried with:
NSDate *date = [dateFormatter dateFromString:[[[[asset defaultRepresentation] metadata] objectForKey:@"{TIFF}"] objectForKey:@"DateTime"]];
but metadata is coming empty for a video.
Please help me.

Updated on 20-Dec-2015

Can you answer this question?


Answer

1 Answers

Liked By