---
title: allowsMagnification
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/allowsmagnification
---

# allowsMagnification

A Boolean value that indicates whether magnify gestures change the web view’s magnification.

## Declaration

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

## Discussion

Discussion The default value is false. You can set the magnification property even if allowsMagnification is set to false.

## See Also

### Scaling content

- [pageZoom](webkit/wkwebview/pagezoom.md)
- [magnification](webkit/wkwebview/magnification.md)
- [setMagnification(_:centeredAt:)](webkit/wkwebview/setmagnification(_:centeredat:).md)
