Question
changing font size of UIButton
I have a UIButton
which displays a text, with the following code:
[button setTitle:@"Join this group" forState:UIControlStateNormal];
however, how do I change the font size for this? I tried
button.titleLabel.font = [UIFont fontWithName:@"Arial-MT" size:8.0];
but I think it's a totally different thing. Or at least how do I make the text to adjust to the size of the button frame. Should I just use textLabel.text instead?
21 35866
21