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

# allowsMagnification

A Boolean value that indicates whether the magnify gesture changes the video’s view magnification.

## Declaration

```swift
var allowsMagnification: Bool { get set }
```

## Discussion

Discussion The default value is false. This property only affects whether the magnify gesture triggers magnification. Your app can still programmatically change magnification even when the value of this is false, which matches the behavior of NSScrollView.

## See Also

### Magnifying video

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