#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