Skip to content

Instantly share code, notes, and snippets.

@koogawa
Created October 9, 2013 16:19
Show Gist options
  • Save koogawa/6903899 to your computer and use it in GitHub Desktop.
Save koogawa/6903899 to your computer and use it in GitHub Desktop.
iOS 7のDynamic Type機能をサポートしてみる ref: http://qiita.com/koogawa@github/items/1011962b444420b854d7
+ (UIFont *)systemFontOfSize:(CGFloat)fontSize;
+ (UIFont *)preferredFontForTextStyle:(NSString *)style
[[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