ios 开发--字体

2017-04-05  本文已影响37人  御雪飞斐
UILabel *label =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 200.f, 40.f)];
///苹方细
        label.font =[UIFont fontWithName:@"HelveticaNeue-Thin" size:13.f];
///苹方中
        label.font =[UIFont systemFontOfSize:13.f];
///苹方粗
        label.font =[UIFont boldSystemFontOfSize:13.f];

        label.textColor =[UIColor blackColor];
        label.numberOfLines =2;
        [self.view addSubview:label];
上一篇下一篇

猜你喜欢

热点阅读