Post

New in SFSymbols for iOS 26, Draw effects!! Five beautiful examples.. stay till the end for the code sample. First up, "rainbow" with .symbolRenderingMode(.multicolor). Symmetrical symbols draw outward from the center.

Another great example: "scribble.variable" with a .green.gradient foregroundStyle. Showcasing another new addition to iOS 26. Gradient foregroundStyles on symbols!

0 reposts0 likes

This effect is flexible! For example, you can tell the effect to draw each layer individually by applying the symbol effect like this: .symbolEffect(.drawOn.individually, isActive: isShowing)