UIBarButtonItem tintColor when using "Bold Text" (Accessibility)

When setting "Bold Text" (under iOS Settings, General, Accessibility) to "On" the tintColor of a UIBarButtonItem doesn't have any effect.


Very simple code:


UIBarButtonItem *button = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:nil action:nil];
self.navigationItem.rightBarButtonItem = button;
button.tintColor = [UIColor redColor];


Produces the following as expected:



But with "Bold Text" enabled it looks like this:


Is this a known bug?

Replies

Apple Technical Support has confirmed that this is a bug in iOS 11. I've filed ID 34950920 in Bug Reporter.

Hi,


did you received any feedback from Apple ?

Or did you find any workaround ?


I have the same issue and even if I set the tintColor at runtime I ddoes not work.


Claudio

No, not yet. The bug is still present.

I have the same issue... Also in iOS 12

Also seeing this in iOS 12. Trying to figure out a work around for now.

I also see this in iOS11 & iOS 12. I've tried a number of workarounds (UINavigation.appearance(), setting barTintColor for the buttons and the menubar. Has anyone figured out a fix? Thanks!