make UILabel's text bold
Solution 1:
If you want to retain the system font and make it bold:
[infoLabel setFont:[UIFont boldSystemFontOfSize:16]];
Solution 2:
Try
[infoLabel setFont:[UIFont fontWithName:@"Arial-BoldMT" size:16]];
It may also be worth checking if the font you're trying to use is available on device
Solution 3:
Using the GUI in Xcode select the label then go to the Attributes Inspector. One of the options is Font. Click on the font icon (not the up-down arrows). In the popup that appears expand the Font ComboxBox. Under the Bold System section choose Regular.
Solution 4:
For swift users this should work:
myLabel.font = UIFont.boldSystemFont(ofSize: 12.0)
or if you'd like to use a different font:
myLabel.font = UIFont(name:"HelveticaNeue-Bold", size: 12.0)