I\'m having an issue with a UIBarButtonItem. I use the appearance proxy to set its color for states Normal and Disabled and I do this in t
UIBarButtonItem
Normal
Disabled
If someone looking for how to change barbuttonitem disabled state appearance in swift. Here you go.
barButtonItem.setTitleTextAttributes([NSAttributedString.Key.foregroundColor: UIColor.lightGray], for: .disabled)