<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/IKImageBrowserView/setContentResizingMask(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)IKImageBrowserView(im)setContentResizingMask:"
  },
  "title" : "setContentResizingMask(_:)"
}
-->

# setContentResizingMask(_:)

Determines how the receiver resizes its content when zooming.

```
func setContentResizingMask(_ mask: Int)
```

## Parameters

`mask`

A resizing mask. You specify a mask by combining any of the following options using the C bitwise `OR` operator: <doc://com.apple.documentation/documentation/AppKit/NSView/AutoresizingMask-swift.struct/width>, <doc://com.apple.documentation/documentation/AppKit/NSView/AutoresizingMask-swift.struct/height>. Other values are ignored.

---

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)