<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Image/ResizingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ImageV12ResizingModeO"
  },
  "title" : "Image.ResizingMode"
}
-->

# Image.ResizingMode

The modes that SwiftUI uses to resize an image to fit within
its containing view.

```
enum ResizingMode
```

## Topics

### Getting resizing modes

[`Image.ResizingMode.stretch`](/documentation/SwiftUI/Image/ResizingMode/stretch)

A mode to enlarge or reduce the size of an image so that it
fills the available space.

[`Image.ResizingMode.tile`](/documentation/SwiftUI/Image/ResizingMode/tile)

A mode to repeat the image at its original size, as many
times as necessary to fill the available space.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)