2011-05-31 40 views
-1

你可以在UITableViewStyleGrouped TableView中刪除特定部分的節背景和邊框嗎?UITableViewStyleGrouped TableView中的自定義部分邊框/背景?

+0

不確定你需要什麼。也許你需要在你的' - (UITableViewCell *)tableView:(UITableView *)表格cellForRowAtIndexPath:(NSIndexPath *)indexPath'方法中訪問'cell.backgroundView'或'cell.backgroundColor'。 (cell被定義爲'UITableViewCell * cell = [table dequeueReusableCellWithIdentifier:CellIdentifier];') – Saphrosit

回答

0

您可以使用表視圖的backgroundColorbackgroundView屬性自定義背景。您還可以更改borderColorborderStyle屬性。