2013-12-13 3 views
0

의 배경을 iOS7/iOS6에 대해 완전히 투명하게 만들어야합니다.iOS7에서 셀 테두리 제거

내가 무슨 짓을 :

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ButtonsCell" forIndexPath:indexPath]; 
cell.backgroundColor = [UIColor clearColor]; 
cell.backgroundView = [UIView new]; 
cell.selectedBackgroundView = [UIView new]; 
cell.selectionStyle = UITableViewCellSelectionStyleNone; 
return cell; 

내가 무엇을 얻을 :

enter image description here

하지만 iOS7에 두 개의 수평 회색 선이 : iOS6의 모든 것을에서

은 OK입니다

enter image description here

그것은 그들을 제거? ..

+0

가 그룹화되어 테이블보기를 할 수 있습니까? – jailani

+0

예, 그룹화 된 그룹이며 일반으로 변경할 수있는 기회가 없습니다. – ShurupuS

+0

@ jailanihabeeb 그것은 이미지에서 'UITableViewStyleGrouped'를 가진'UITableView'입니다. – Popeye

답변

0
tableView.separatorColor = [UIColor clearColor]; 
+0

그리고이 셀에 대해서만 분리 기호 색을 구현할 수 있습니까? 왜냐하면 내 tableview가 다른 섹션에서 다소 커지기 때문입니다. – ShurupuS

+0

이 대답보기 http://stackoverflow.com/a/3711892/874027 – Eugene