Possible Duplicate:
How do I set bold and italic on UILabel of iPhone/iPad?
I am trying to make UILabel font bold and italic both using system font, but I cant use these both style at a time. so is it possible to make font bold and italic using system font? here is my code,
lblTitle.font = [UIFont italicSystemFontOfSize:[UIFont systemFontSize]];
or
lblTitle.font = [UIFont boldSystemFontOfSize:[UIFont systemFontSize]];
I want my font Bold and Italic both. Can anyone help me? Thank you in advance.
try this code...
UIFont *yourFont = [UIFont fontWithName:@"Helvetica-BoldOblique"
size:[UIFont systemFontSize]];
lblTitle.font = yourFont;
you can use also another fontName for BoldItalik like.
Optima-BoldItalic
,TimesNewRomanPS-BoldItalicMT
,Baskerville-BoldItalic
,HelveticaNeue-BoldItalic
,etc...