我想設置字體類型,我的標籤文本,但它不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