Created
October 9, 2013 16:19
-
-
Save koogawa/6903899 to your computer and use it in GitHub Desktop.
iOS 7のDynamic Type機能をサポートしてみる ref: http://qiita.com/koogawa@github/items/1011962b444420b854d7
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
+ (UIFont *)systemFontOfSize:(CGFloat)fontSize; |
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
+ (UIFont *)preferredFontForTextStyle:(NSString *)style |
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
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(preferredContentSizeChanged:) | |
name:UIContentSizeCategoryDidChangeNotification | |
object:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment