Last active
June 14, 2016 08:40
-
-
Save nuthatch/8a48ed8cc6a07608b69c to your computer and use it in GitHub Desktop.
iOS 9 replaces Helvetica Nue with the new San Francisco font
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)describePreferredFonts | |
{ | |
static NSArray *textStyles; | |
static dispatch_once_t onceToken; | |
dispatch_once(&onceToken, ^{ | |
textStyles = @[UIFontTextStyleTitle1, // iOS 9 | |
UIFontTextStyleTitle2, // iOS 9 | |
UIFontTextStyleTitle3, // iOS 9 | |
UIFontTextStyleHeadline, | |
UIFontTextStyleSubheadline, | |
UIFontTextStyleBody, | |
UIFontTextStyleFootnote, | |
UIFontTextStyleCaption1, | |
UIFontTextStyleCaption2, | |
UIFontTextStyleCallout]; // iOS 9 | |
}); | |
NSLog(@"\n%@", [self preferredContentSizeDescription]); | |
for (NSString *textStyle in textStyles) | |
{ | |
UIFont *font = [UIFont preferredFontForTextStyle:textStyle]; | |
NSLog(@"\n%@\n%@ %@", textStyle, font.fontName, font); | |
} | |
} | |
- (NSString *)preferredContentSizeDescription | |
{ | |
// see http://johnszumski.com/blog/implementing-dynamic-type-on-ios7 | |
NSString *contentSize = [UIApplication sharedApplication].preferredContentSizeCategory; | |
NSString *description; | |
if ([contentSize rangeOfString:@"Accessibility"].location != NSNotFound) | |
{ | |
// Accessibility Content Size Category Constants | |
if ([contentSize isEqualToString:UIContentSizeCategoryAccessibilityMedium]) { | |
description = @"Accessibility Medium"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryAccessibilityLarge]) { | |
description = @"Accessibility Large"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryAccessibilityExtraLarge]) { | |
description = @"Accessibility Extra Large"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryAccessibilityExtraExtraLarge]) { | |
description = @"Accessibility 2X Large"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryAccessibilityExtraExtraExtraLarge]) { | |
description = @"Accessibility 3X Large"; | |
} | |
else { | |
description = @"Unknown Content Cateogry Accessibility Size"; | |
} | |
} | |
else | |
{ | |
//Content Size Category Constants | |
if ([contentSize isEqualToString:UIContentSizeCategoryExtraSmall]) { | |
description = @"Extra Small"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategorySmall]) { | |
description = @"Small"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryMedium]) { | |
description = @"Medium"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryLarge]) { | |
description = @"Large"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryExtraLarge]) { | |
description = @"Extra Large"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryExtraExtraLarge]) { | |
description = @"Extra Extra Large"; | |
} else if ([contentSize isEqualToString:UIContentSizeCategoryExtraExtraExtraLarge]) { | |
description = @"Extra Extra Extra Large"; | |
} | |
else | |
{ | |
description = @"Unknown Content Cateogry Size"; | |
} | |
} | |
return description; | |
} | |
/* | |
Extra Small | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 25 pt | |
UICTFontTextStyleTitle2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleTitle3 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleHeadline | |
.SFUIText-Semibold font-family: ".SFUIText-Semibold"; font-weight: bold; font-style: normal; font-size: 14 pt | |
UICTFontTextStyleSubhead | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 12 pt | |
UICTFontTextStyleBody | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 14 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 12 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCallout | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 13 pt | |
Small | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 20 pt | |
UICTFontTextStyleTitle3 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleHeadline | |
.SFUIText-Semibold font-family: ".SFUIText-Semibold"; font-weight: bold; font-style: normal; font-size: 15 pt | |
UICTFontTextStyleSubhead | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 13 pt | |
UICTFontTextStyleBody | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 15 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 12 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCallout | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 14 pt | |
Medium | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 27 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleTitle3 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleHeadline | |
.SFUIText-Semibold font-family: ".SFUIText-Semibold"; font-weight: bold; font-style: normal; font-size: 16 pt | |
UICTFontTextStyleSubhead | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 14 pt | |
UICTFontTextStyleBody | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 16 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 12 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCallout | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 15 pt | |
Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 20 pt | |
UICTFontTextStyleHeadline | |
.SFUIText-Semibold font-family: ".SFUIText-Semibold"; font-weight: bold; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleSubhead | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 15 pt | |
UICTFontTextStyleBody | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 13 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 12 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 11 pt | |
UICTFontTextStyleCallout | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 16 pt | |
Extra Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 30 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 24 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
UICTFontTextStyleHeadline | |
.SFUIText-Semibold font-family: ".SFUIText-Semibold"; font-weight: bold; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleSubhead | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleBody | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 15 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 14 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 13 pt | |
UICTFontTextStyleCallout | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
Extra Extra Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 32 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 24 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleSubhead | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 16 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 15 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 20 pt | |
Extra Extra Extra Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
Extra Extra Extra Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
Accessibility Medium | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
Accessibility Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 33 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
Accessibility Extra Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 40 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
Accessibility 2X Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 47 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
Accessibility 3X Large | |
UICTFontTextStyleTitle1 | |
.SFUIDisplay-Light font-family: ".SFUIDisplay-Light"; font-weight: normal; font-style: normal; font-size: 34 pt | |
UICTFontTextStyleTitle2 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 28 pt | |
UICTFontTextStyleTitle3 | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 26 pt | |
UICTFontTextStyleHeadline | |
.SFUIDisplay-Semibold font-family: ".SFUIDisplay-Semibold"; font-weight: bold; font-style: normal; font-size: 23 pt | |
UICTFontTextStyleSubhead | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 21 pt | |
UICTFontTextStyleBody | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 53 pt | |
UICTFontTextStyleFootnote | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 19 pt | |
UICTFontTextStyleCaption1 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 18 pt | |
UICTFontTextStyleCaption2 | |
.SFUIText-Regular font-family: ".SFUIText-Regular"; font-weight: normal; font-style: normal; font-size: 17 pt | |
UICTFontTextStyleCallout | |
.SFUIDisplay-Regular font-family: ".SFUIDisplay-Regular"; font-weight: normal; font-style: normal; font-size: 22 pt | |
*/ |
You're right, I completely missed the ones new to iOS 9. Ugh.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! Looks like you're missing
UIFontTextStyleTitle1
and friends.