An ALAsset object represents a photo or a video managed by the Photo application.
Language
- Swift
- Objective-C
SDK
- iOS 4.0–9.0Deprecated
Overview
Important
The Assets Library framework is deprecated as of iOS 9.0. Instead, use the Photos framework instead, which in iOS 8.0 and later provides more features and better performance for working with a user’s photo library. For more information, see Photos.
In the Photos framework, the PHAsset class provides functionality for fetching and working with photo and video assets.
Assets can have multiple representations, for example a photo which was captured in RAW and JPG. Different representations of the same asset may have different dimensions.