Search code examples
iosswiftxcodeswift5

Can't change font in button that create with xib file Swift


I've create a UIView in xib file and try to change font in Button in that xib file like this

xib file

but when i run my application font didn't chage to font that i expect and i check in debugView it show another font.

font that show in debug view

Can anyone help me?


Solution

  • Change the Style from Plain to Default in the drop down in the screenshot you shared, then you should be able to change the font.