Currently, by using this code.
Button(action: { dismiss() }) {
Image(systemName: "xmark.circle.fill")
.imageScale(.large)
.foregroundColor(Color(UIColor.lightGray))
}
My button will have
- Transparent color cross mark
- Light gray background
However, what if I would like to achieve
- Black color cross mark
- Light gray background
which looks like
May I know how I can achieve such? Thanks.