title: How to change the UILabel text color according to the background image color?
body: <p>I want to change the label text color according to the background image color. The background image is on a <code>UIScrollView</code>, and the <code>UILabel</code> is on top of that. When the scroll view is scrolling, the label color should be changed based upon what the background image color is.</p>
  
  <p>Basically, something like if the label was on the yellow part of the image, it would be black, and if it was on the blue part of the image, it would be white.</p>
  
  <p>See the image below:</p>
  
  <p><img src="https://i.stack.imgur.com/uex4J.png" alt="if the label was on the yellow part of the image, it would be black, and if it was on the blue part of the image, it would be white"></p>
  
  <p>Thanks in Advance...</p>