UITableView *table = (UITableView *) [self.view viewWithTag:2];
UIView *backgroundView = [[UIView alloc] initWithFrame: table.frame];
backgroundView.backgroundColor = [UIColor whiteColor];
table.backgroundView = backgroundView;
[backgroundView release];
'프로그램 경험 > iOS' 카테고리의 다른 글
[iPhone] UITableViewCell에 높이 조절하기 (0) | 2010.10.12 |
---|---|
[iPhone] UIImageView에 테두리 넣기 (0) | 2010.10.06 |
[iPhone] 클래스명으로 객체 생성하기 (0) | 2010.10.06 |
[iPhone] Command ... gcc-4.2 failed with exit code 1 (0) | 2010.09.28 |
[iPhone] 배열 생성하기 (0) | 2010.09.17 |