In the past, if I wanted to use bold and italic on the same text, I'd select a font by name, like this:
font = [UIFont fontWithName:@"HelveticaNeue-BoldItalic" size:size];
Now I'm trying to do this with the current iOS system font, San Francisco. This answer says it's not safe to refer to this font by name, and indeed, when I try it, some font-related methods do nothing and some crash the app.
Of course there is a boldSystemFontOfSize
and italicSystemFontOfSize
method, but no boldItalicSystemFontOfSize
method.
Does that leave any other way to use bold+italic with the San Francisco font?
UIFont
object, but that answer included how to get that. – arlomedia