---
title: magnification
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avplayerview/magnification
---

# magnification

The factor by which the video’s view is currently scaled.

## Declaration

```swift
var magnification: CGFloat { get set }
```

## Discussion

Discussion The supported magnification range is 1.0 to 64.0. The system zooms using nearest neighbor interpolation after it scales the content past a certain factor. The default value is 1.0.

## See Also

### Magnifying video

- [allowsMagnification](avkit/avplayerview/allowsmagnification.md)
- [setMagnification(_:centeredAt:)](avkit/avplayerview/setmagnification(_:centeredat:).md)
