How can I get the last modified date from a video like ALAsset?
I tried:
NSDate *date = [dateFormatter dateFromString:[[[[asset defaultRepresentation] metadata] objectForKey:@"{TIFF}"] objectForKey:@"DateTime"]];
but the metadata is empty for the video.
In the ALASset class reference, there is no such property for the last updated date as there is ever a property for Creation Date
ALAsset* asset; NSDate* date = [asset valueForProperty:ALAssetPropertyDate];
Source: https://habr.com/ru/post/1479844/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1479839/whats-the-meaning-of-nodediscoverytype-as-tokenaware-in-astyanax-client&usg=ALkJrhgNSEihtJw3PHgqeXDSBLWnFmTgPgCan't get emacs org-mode to use my CSS file - htmlAccented characters in views do not display properly - .netSafe comparison against unsafe, for bytes [] - pointersSeekbar on Android does not move automatically - androidHow to use pdb to debug a module written in C? - pythonMirror API and Node.JS - google-api-clientjQuery does not get password field value - javascriptPython.h header file missing on Mac OS X 10.6 - pythonAdding a DATETIME column through migration? Should I use macros? - laravelAll Articles