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.

The "signature" SFSymbol showcases this effect so well.

0 reposts1 like

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

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)