I am trying to use the appearance api to change the theme of my app. It works with all the controls that I tried except UIView. Whenever I try to assign a color to it using 'UIView.Appearance.BackgroundColor = UI.Black;' It applies that property to all the sub controls, resulting in a black screen once the app loads.
I have tried creating a sub class of UIView and using it in the storyboard, then once I assign a background color to it I get the same behavior
Any advice will be helpful, Thanks in advance