Trait variation is shown when button's title font is Plain. Please see below image:
But when the title font is changed to attributed, the plus icon disappears. Please see below image:
Can anyone please help me with how to add trait variations for UIButton
attributed title?
Plese note: The same is working fine for a UILabel
. Please see below image:
I am using Xcode 10.1.