addSymbolEffect(_:options:animated:)
Adds an indefinite symbol effect to the image view with the specified options and animation.
Declaration
@MainActor @preconcurrency func addSymbolEffect(_ effect: some IndefiniteSymbolEffect & SymbolEffect, options: SymbolEffectOptions = .default, animated: Bool = true)Parameters
- effect:
The symbol effect to add.
- options:
The options for the symbol effect.
- animated:
A Boolean value that indicates whether to animate the addition of a scale, appear, or disappear effect.