<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "tvOS: 17.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImageView/setSymbolImage(_:contentTransition:options:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So11UIImageViewC5UIKitE14setSymbolImage_17contentTransition7options10completionySo0A0C_x7Symbols0E13EffectOptionsVyAC08UISymbolL17CompletionContextVcSgtAJ07ContentheL0RzAJ0eL0RzlF"
  },
  "title" : "setSymbolImage(_:contentTransition:options:completion:)"
}
-->

# setSymbolImage(_:contentTransition:options:completion:)

Sets a symbol image using the specified content-transition effect, options, and completion handler.

```
@MainActor @preconcurrency func setSymbolImage(_ image: UIImage, contentTransition: some ContentTransitionSymbolEffect & SymbolEffect, options: SymbolEffectOptions = .default, completion: UISymbolEffectCompletion? = nil)
```

## Parameters

`image`

The symbol image to set.

`contentTransition`

The content transition to use when setting the symbol image.

`options`

The options to use when setting the symbol image.

`completion`

A completion handler the system calls after setting the symbol image.

---

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)