我的應用程序中有以下代碼。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