How do I get the SFSymbol to show with the specified tint color against the black background of the VStack
?
struct ContentView: View {
var body: some View {
VStack {
Image(uiImage: UIImage(systemName: "airplane.circle.fill")!.withTintColor(.white, renderingMode: .alwaysTemplate))
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 150, height: 150)
}
.background {
Color.black.ignoresSafeArea()
}
}
}
Any help is appreciated.