UILabel *lb = [[UILabel alloc] initWithFrame:CGRectMake(20, -5, 100, 40)];
lb.text = @"活动照片";
[headview addSubview:lb];
// 模拟 系统headtitle的效果
lb.textColor = [UIColor colorWithRed: 76/255.0 green: 86/255.0 blue: 108/255.0 alpha:1.0];
lb.font = [UIFont boldSystemFontOfSize: 17];
lb.shadowColor = [UIColor whiteColor];
lb.shadowOffset = CGSizeMake(0.0, 1.0);
lb.backgroundColor = [ UIColor clearColor];
[lb release];
lb.text = @"活动照片";
[headview addSubview:lb];
// 模拟 系统headtitle的效果
lb.textColor = [UIColor colorWithRed: 76/255.0 green: 86/255.0 blue: 108/255.0 alpha:1.0];
lb.font = [UIFont boldSystemFontOfSize: 17];
lb.shadowColor = [UIColor whiteColor];
lb.shadowOffset = CGSizeMake(0.0, 1.0);
lb.backgroundColor = [ UIColor clearColor];
[lb release];