Animate symbols in your app

RSS for tag

Animate symbols in your app

View Session

Posts under wwdc2023-10258 tag

3 Posts
Sort by:
Post not yet marked as solved
0 Replies
545 Views
I'm currently experimenting with SFSymbol animations for iOS 17.0 I have a custom symbol that I like to animate with the Variable Color effect, and I want to set the colors in code. However, coloring the symbol in code doesn't work. What am I missing? Image("my-fancy-custom-symbol") .symbolRenderingMode(.multicolor) .foregroundStyle(.white, .yellow) .symbolEffect(.variableColor, options: .repeating)
Posted Last updated
.
Post not yet marked as solved
0 Replies
643 Views
Hi! I was wondering if it is possible to use the replace effect from a custom symbol to a system symbol. I've tried a if/else to switch from an Image with a custom symbol to an Image with a system symbol to no avail. I assume it needs to be the same Image view when transitioning so I think that's my problem, is there something I'm missing?
Posted Last updated
.