The easiest way to change the font of a UILabel is to use the default iPhone system font. There are three different methods you can use:
What about fonts other than the system font?
The only caveat here is you need to know which fonts are available. If you try to use a non-existent font your code will thrown an exception.
Now let’s move on to changing the background color of a UILabel. You can go the easy route and choose one of the predefined colors, or you can specify your own:
When you specify your own color using the method above, each RGB value is between 0-1. If you have an RGB value that’s between 0-255 then simply divide by 255 to get the appropriate value here.