It is a way to do not change the color of the Image in the Button with SwiftUI. If you keep the default, the color will change to blue as in the following image.
By setting renderingMode(.original)
the color of the original image was displayed.
It is a way to do not change the color of the Image in the Button with SwiftUI. If you keep the default, the color will change to blue as in the following image.
By setting renderingMode(.original)
the color of the original image was displayed.