Xcode 6 iOS UILabel font size 自動リサイズ

XCodeで iPad, iPhoneのサイズ別に fontのサイズを自動調節したい場合
元のネタ:
http://stackoverflow.com/questions/30008136/changing-uilabel-font-size-with-autolayout

公式サイト:
https://developer.apple.com/library/ios/recipes/xcode_help-IB_adaptive_sizes/chapters/ChangingtheFontforaSizeClass.html#//apple_ref/doc/uid/TP40014436-CH12-SW1

UILabelのfont設定のところの左にある+ボタンを押して対応
compact width/regular height : iPhone portrait
any width/compact height : iPhone Landscape
regular width/regular height : iPad portrait

前の記事
次の記事