我想设置字体类型,我的标签文本,但它不seted .....文字字体没有设置?
我的代码....
CGRect imageFrame = CGRectMake(10, 10, 150, 80);
labelResizableView = [[UserResizableView alloc] initWithFrame:imageFrame];
alabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 35, 100, 100)];
alabel.font = [UIFont fontWithName:@"AmericanTypewriter-Bold" size:18];
iOS上支持'AmericanTypewriter-Bold'字体吗?你看过'NSLog(@“字体:%@”,[UIFont familyNames]);'? – jjv360
什么版本的iOS? – trojanfoe
@ jjv360 http://iosfonts.com/ – trojanfoe