---
title: asset
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmediaselection/asset
---

# asset

The asset associated with the media selection.

## Declaration

```swift
weak var asset: AVAsset? { get }
```
