-1
你可以在UITableViewStyleGrouped TableView中刪除特定部分的節背景和邊框嗎?UITableViewStyleGrouped TableView中的自定義部分邊框/背景?
你可以在UITableViewStyleGrouped TableView中刪除特定部分的節背景和邊框嗎?UITableViewStyleGrouped TableView中的自定義部分邊框/背景?
您可以使用表視圖的backgroundColor
和backgroundView
屬性自定義背景。您還可以更改borderColor
和borderStyle
屬性。
不確定你需要什麼。也許你需要在你的' - (UITableViewCell *)tableView:(UITableView *)表格cellForRowAtIndexPath:(NSIndexPath *)indexPath'方法中訪問'cell.backgroundView'或'cell.backgroundColor'。 (cell被定義爲'UITableViewCell * cell = [table dequeueReusableCellWithIdentifier:CellIdentifier];') – Saphrosit