I seem to be having an issue where certain symbol effect animations are not working. Using symbol effect .appear, .drawOn .drawOff seems to cause the symbol to not display at all.
Am I using this code correctly if I want to have a simple animate repeatedly on display?
Specifically, modifying the Multiplatform app template in xcode:
Image(systemName: "ellipsis")
.font(.title)
.foregroundColor(.blue)
.symbolEffect(.drawOn.byLayer, options: .repeat(.continuous))
I'm currently on the latest release on Xcode/macOS and iOS/macOS on client. Both iOS and macOS seem affected. The project is multiplatform and only support macOS/iOS 26.
Thank you for your post.
It seems like a bug to me right now as this should work symbolEffect(.drawOn.byLayer, options: .repeat(.continuous))
Kindly complete a bug report and include the specific project you are showing here.
Once you open the bug report, please post the FB number here for my reference.
If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?
Albert Pascual Worldwide Developer Relations.