Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 2906 [details]
Steps to reproduce the problem:
1. Set UILabel.Appearance properties
2. Create a UILabel and add it to the view hierarchy
Appearance properties that were set have no effect.
UILabel should appear on screen with with a visual appearance as per the properties set on UILabel.Appearance
I'm running version 6.0.6
I do not think it's an XI issue. Part of the issue is the lack of UI_APPEARANCE_SELECTOR on UILabel , i.e. TextColor is not decorated.
BackgroundColor really exist in UIView (not UILabel) but it was not decorated with UI_APPEARANCE_SELECTOR (before 7.0). Not sure why it still fails.
OTOH we know that UI_APPEARANCE_SELECTOR is not always required (and that's why we have some extra API on Appearance). Also it seems this works (at least for some people) when using NIB. Not sure why, maybe different code paths in iOS? There's much undocumented behaviour behind appearance :-(
I can reproduce the same behavior with an Xcode project, so this is not an XI issue.
Created attachment 24962 [details]
Unified XI sample
Created attachment 24963 [details]