Created attachment 16713 [details]
Test project where the bug can be observed
We have a custom renderer for ContentView, which draws a rounded corners view.
The color is set in PCL, so on iOS it should be converted from Forms.Color to CGColor for drawing.
We found out, that converting the color using extension method toCGColor() and method toUIColor().CGColor produces different results on iOS 9.3 (on other versions the colors are converted equally). And the result, produced by toCGColor() is the wrong one (comparing to setting the color as background for ContentView).
You can reproduce this by running attached test project on a device or a simulator with iOS version 9.3.
iOS 9.3 added support for color management, which may be causing this.
I can confirm that this is happening.
iOS 8.4 screenshot: https://www.dropbox.com/s/kdnra6sahx180e3/Screenshot%202016-07-19%2016.41.17.png?dl=0
iOS 9.3 screenshot: https://www.dropbox.com/s/4ohjawait073ll9/Screenshot%202016-07-19%2016.42.20.png?dl=0
I can confirm this too:
e.g. Element.StartColor is a Forms.Color property. Following two lines should have same result:
However, 1) returns a wrong value. 2) is correct.
I verified result by using manually convert the value:
CGColor ToCGColor(Color color)
UIKit.UIColor uicolor = new UIKit.UIColor(