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

# setSymbolImage(_:contentTransition:options:)

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

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

## 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.

---

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)