[tableview setseparatorcolor:[uicolor bluecolor]]; //設定分割線為藍色
隐藏uitableviewcell的分隔線
[self.mytableview setseparatorstyle:uitableviewcellseparatorstylenone];
uitableviewcellseparatorstyle有如下幾種
typedef ns_enum(nsinteger, uitableviewcellseparatorstyle) {
uitableviewcellseparatorstylenone,
uitableviewcellseparatorstylesingleline,
uitableviewcellseparatorstylesinglelineetched // this separator style is only supported for grouped style table views currently
};