removeSymbolEffect(ofType:options:animated:)
Removes the symbol effect that matches the specified discrete effect type, using the specified options and animation setting.
Declaration
@MainActor @preconcurrency func removeSymbolEffect(ofType effect: some DiscreteSymbolEffect & SymbolEffect, options: SymbolEffectOptions = .default, animated: Bool = true)Parameters
- effect:
The symbol effect to match for removal.
- options:
The options to use when removing the symbol effect.
- animated:
A Boolean value that indicates whether to animate the removal of a scale, appear, or disappear effect.
See Also
Configuring symbol effects
isSymbolAnimationEnabledaddSymbolEffect(_:options:animated:)addSymbolEffect(_:options:animated:)addSymbolEffect(_:options:animated:)setSymbolImage(_:contentTransition:options:)removeSymbolEffect(ofType:options:animated:)removeSymbolEffect(ofType:options:animated:)removeAllSymbolEffects(options:animated:)