Thank you for your reply,
I tried the method you suggested, but folder.circle‘s drawOff animation is still partially missing.
iOS Simulator 26.4.1
My code
struct TestV: View {
@State var isClicked = true
var body: some View {
Button {
isClicked.toggle()
} label: {
Image(systemName: isClicked ? "folder.circle" : "tree")
.font(.system(size: 60))
.contentTransition(.symbolEffect(.replace))
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: