Arabirim Oluşturucu'daki system
yazı tipi, varsayılan işletim sistemi yazı tipidir, adının alabileceği bir yazı tipi değildir.
+ (UIFont *)systemFontOfSize:(CGFloat)fontSize;
+ (UIFont *)boldSystemFontOfSize:(CGFloat)fontSize;
+ (UIFont *)italicSystemFontOfSize:(CGFloat)fontSize;
Bunlar herhangi ince bir sürümünü içermez ama iso 8.2 kullanabilirsiniz edebilirsiniz:
+ (UIFont *)systemFontOfSize:(CGFloat)fontSize weight:(CGFloat)weight;
geçmek yerler: ağırlık olarak:
sistem yazı için Apple şu yöntemleri sağlar
UIFontWeightUltraLight
UIFontWeightThin
UIFontWeightLight
UIFontWeightRegular
UIFontWeightMedium
UIFontWeightSemibold
UIFontWeightBold
UIFontWeightHeavy
Yani ince bir sistem yazı olacaktır:
UIFont *thinFont = [UIFont systemFontOfSize:15 weight:UIFontWeightThin];
Bunu nereden buldunuz? –
@MartinR http://stackoverflow.com/questions/22091367/how-to-set-font-name-of-uilabel-as-helveticaneue-thin-in-ios –
@MartinR oh, yanlış cevap verdim =/ –