I'm working on application which have Text on Image and I want to change color of text according to the background image. if user select dark image then change the text color to light and if user select light image then change text color to dark.
is this possible to get image background color in swiftUI?
Example - enter image description here In this picture it is difficult to read quote but if the background image is dark it is easy to read.