반응형
-(UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ }
여기에서 셀이 선택되었을때 스타일 속성을 아래와같이 준다.
[cell setSelectionStyle:UITableViewCellSelectionStyleNone];
이 외에도 속성값으로는
UITableViewCellSelectionStyleBlue,
UITableViewCellSelectionStyleGray
등이 있다.
'Programing' 카테고리의 다른 글
[iPhone] 탭바 숨기기 (0) | 2010.10.06 |
---|---|
[iPhone] 액션시트 탭바때문에 선택영역 에러 (1) | 2010.09.26 |
[IPhone]키보드 없어지게 하기 (1) | 2010.09.14 |
[iPhone] xml 파싱할 때 한글 파라미터 처리 (0) | 2010.09.06 |
아이폰 기초 정리 (deployment target,View Attributes) (0) | 2010.08.19 |