UIBarButtonItem tintColor issue while setting bold text on in accessibility

Viewed 270

UIBarButtonItem tintColor is not getting change after setting Bold Text On in Settings -> Display & Brightness -> Bold Text. i am facing this issue in iOS 11 & 12 both. haven't checked in previous versions.

The same question is already asked in apple developer forum but i didn't find any answer there.

https://forums.developer.apple.com/thread/89337

if some one have any work around to this please suggest me.

2 Answers

You can try to do it programmatically using NSAttributedString, I have never done it trough the storyboard, but programmatically using array of [NSAttributedString.Key.font: .systemFontOfSize(size: 25), NSAttributedString.Key.foregroundColor: .blue], etc., works like a charm.

One method that works for me is changing the Global Tint option on the storyboard, of course this is not the perfect solution.

enter image description here

Related