I would like to change the font style (e.g. bold, regular, light, slant) programmatically. I know that I can use IB, but I would like to change it using programmatically. It is necessary to be guided by this. Sorry if this is a stupid question.
For example, my code is as follows:
lblAge.font = [UIFont fontWithName:@"Helvetica" size:20];
I would like to add a style that is regular. How to do it?
source share