Creating a UITableView of the grouped style, but with square corners?

后端 未结 2 1588
小蘑菇
小蘑菇 2020-12-21 05:01

I want to keep the separated and not completely wide look of the grouped tableView, but I don\'t want the square corners. Is there any way to set/fake this?

相关标签:
2条回答
  • 2020-12-21 05:02

    Use this

    cell.backgroundView = [[[UIView alloc]init] autorelease];
    
    0 讨论(0)
  • 2020-12-21 05:23

    You can set the backgroundView property on your cells to a view that looks like anything you want.

    0 讨论(0)
提交回复
热议问题