I get a warning saying that setFont is deprecated?
[button setFont:[UIFont boldSystemFontOfSize:13]];
Any suggestions how to take it away pls..
As UIButton exposes its titleLabel starting from iPhone OS 3.0 you must set font to it directly:
[button.titleLabel setFont:[UIFont boldSystemFontOfSize:13]];
1.4m articles
1.4m replys
5 comments
57.0k users