<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "AssetsLibrary",
  "identifier" : "/documentation/AssetsLibrary/ALAsset",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Assets Library"
    ],
    "preciseIdentifier" : "c:objc(cs)ALAsset"
  },
  "title" : "ALAsset"
}
-->

# ALAsset

An `ALAsset` object represents a photo or a video managed by the Photo application.

```
@interface ALAsset : NSObject
```

## 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 <doc://com.apple.documentation/documentation/Photos/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.

## Topics

### Asset Properties

### Accessing Representations

### Setting New Image and Video Data

### Saving to the Saved Photos Album

### Constants

[Property Keys](/documentation/AssetsLibrary/property-keys)

Constants for the keys for the properties you can get from an asset.

[Invalid Property Value](/documentation/AssetsLibrary/invalid-property-value)

A constant to indicate that a property accessed by `ALAsset/value(forProperty:)` is invalid.

[Asset Types](/documentation/AssetsLibrary/asset-types)

Constants that specify the type of an asset.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)