2011-05-31 38 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属性。