-2

How to Set custom font name and size for button in iOS 9 Objective-c?

Thank You.

reza_khalafi
  • 6,230
  • 7
  • 56
  • 82

1 Answers1

2

Try this code

[objBtn.titleLabel setFont:[UIFont fontWithName:@“fontname” size:fontsize]];
kb920
  • 3,039
  • 2
  • 33
  • 44