【发布时间】:2013-09-15 06:15:45
【问题描述】:
我想以编程方式模仿此标头的确切外观:
到目前为止,我最好的尝试是:
UILabel* header = [[UILabel alloc] init] ;
header.backgroundColor = [UIColor clearColor];
header.textAlignment = NSTextAlignmentCenter;
header.textColor = [[UIColor alloc] initWithRed:86 green:92 blue:112 alpha:0.1];
header.shadowColor = [UIColor darkGrayColor];
header.shadowOffset = CGSizeMake(1,0);
header.font = [UIFont boldSystemFontOfSize:18];
但它看起来像这样:
有人可以帮我具体的方法吗?
提前致谢!
【问题讨论】:
标签: iphone ios uitableview uilabel