Reputation: 15117
Sort of like CSS, I want to just use my custom font for "Title 1" heading. I'm not sure how to do this in my storyboard.??
Upvotes: 2
Views: 719
Reputation: 77482
As of iOS 9, the iOS System Font is "San Francisco" ... previously it was "Helvetica Neue".
All of those Text Styles are based on the System Font, as are the fonts returned by:
// Obj-C
UIFont *fnt = [UIFont preferredFontForTextStyle:UIFontTextStyleCaption1];
// Swift
let fnt = UIFont.preferredFont(forTextStyle: UIFontTextStyle.caption1)
Upvotes: 4