我的应用程序中有以下代码。UILabel - 以编程方式在iPhone中设置字体 - 字体
tmp=[[UILabel alloc] initWithFrame:label1Frame];
tmp.tag=1;
tmp.textColor=[UIColor blackColor];
[tmp setFont:[UIFont fontWithName:@"American Typewriter" size:18]];
tmp.backgroundColor=[UIColor clearColor];
[cell.contentView addSubview:tmp];
[tmp release];
现在,我需要知道,
======>如何通过代码集 “字样=大胆”?
“标签的阴影偏移”是指标签阴影的大小吗? – devinfoley 2009-08-19 21:59:35
@flashcards - 我得到的解决方案不需要找出影子。 [tmp setshadowoffset:cgsizemake(1,1)]; – 2009-08-19 22:13:41
@sagar您应该将其作为您自己问题的答案发布,以便保存。干杯! – devinfoley 2009-08-19 22:20:00