1

Trait variation is shown when button's title font is Plain. Please see below image:

enter image description here

But when the title font is changed to attributed, the plus icon disappears. Please see below image:

enter image description here

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:

enter image description here

I am using Xcode 10.1.

iPeter
  • 1,330
  • 10
  • 26
  • Well idk the answer of this, but it would be helpful if I can learn from this. Mind sharing whats trait variation or any article on it? – Amber K Dec 11 '18 at 10:34
  • It's something which helps your designs adopts different device and orientations including iPad. – iPeter Dec 11 '18 at 10:36

0 Answers0