字体适配,这句代码就够了

#define font(x) [UIFont systemFontOfSize:x]

#define wsj_cornerRadius(view,value)\

view.layer.cornerRadius =value;\

view.layer.masksToBounds = YES\

//中文字体

#define CHINESE_FONT_NAME@"Heiti SC"

#define CHINESE_SYSTEM(x) [UIFont fontWithName:CHINESE_FONT_NAME size:x]

你可能感兴趣的:(字体适配,这句代码就够了)