DEFINE USE OF ALASSET IN PHOTO LIBRARY IN IOS.

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 609  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    Post:107

    Points:535
    Define use of ALAsset in Photo Library in iOS.

    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).

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!