-2

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

Thank You.

reza_khalafi
  • 5,804
  • 6
  • 50
  • 78

1 Answers1

2

Try this code

[objBtn.titleLabel setFont:[UIFont fontWithName:@“fontname” size:fontsize]];
kb920
  • 2,979
  • 2
  • 31
  • 41