반응형
// 네비타이블 색상변경
CGRect frame = CGRectMake(0, 0, 400, 44);
UILabel *label = [[[UILabel alloc] initWithFrame:frame] autorelease];
label.backgroundColor = [UIColor clearColor];
label.font = [UIFont boldSystemFontOfSize:20.0];
label.shadowColor = [UIColor colorWithWhite:0.0 alpha:0];
label.textAlignment = UITextAlignmentCenter;
label.textColor = [UIColor whiteColor];
label.text = self.navigationItem.title;
[self.navigationItem setTitleView:label];
'Programing' 카테고리의 다른 글
| Spring 트랜잭션 (0) | 2012.10.16 |
|---|---|
| [MYSQL] String int 형변환 (0) | 2012.08.27 |
| [iPhone] uitextfield 자리수 제한 (1) | 2011.10.28 |
| [iPhone] 이미지 썸네일 (1) | 2011.10.19 |
| 톰캣 포트추가 및 root 변경 (1) | 2011.10.02 |

