Home > DeveloperSection > Interviews > Define use of ALAsset in Photo Library in iOS.

Posted on    December-23-2015 12:16 AM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  527  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    December-23-2015 1:16 AM

ALAsset is used to get Photo or Video in the Photo Library. It can be describe itself through Key-Value pairs called Properties. ALAsset can report photo/video creation date, its orientation.
If it is a photo whose metadata contains this information and it contains duration if it is a video.
To fetch property value use - valueForProperty: method (the property have names like ALAssetPropertyType).

Don't want to miss updates? Please click the below button!

Follow MindStick