#define IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]
if(IOS_VERSION >= 8.0) { lbl_title.font = [UIFont systemFontOfSize:14 weight:1]; } else { lbl_title.font = [UIFont systemFontOfSize:14]; }本文共 255 字,大约阅读时间需要 1 分钟。
#define IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]
if(IOS_VERSION >= 8.0) { lbl_title.font = [UIFont systemFontOfSize:14 weight:1]; } else { lbl_title.font = [UIFont systemFontOfSize:14]; }转载于:https://blog.51cto.com/9217856/1738161