I need to set the font size of the title UILabel of a UIButton programmatically.
UILabel
UIButton
[button setFont:...] has been deprecated.
[button setFont:...]
Use [button.titleLabel setFont:...] instead, for example:
[button.titleLabel setFont:...]
[myButton.titleLabel setFont:[UIFont systemFontOfSize:10]];