ios - Sharper Corners on Grouped UITableView Cells without Subclassing -
how can create less rounded corners uitableviewcells in grouped uitableview? i'm looking lessen corner radius of each grouping in app: (i'm not trying round entire tableview
)
i've tried in cellforrowatindexpath
no luck:
[cell.layer setcornerradius:1.0];
in order have more sharper cornered cell, easiest edit custom view of cell. can using line:
cell.backgroundview = [[[uiview alloc] initwithframe:cell.bounds]
put inside
cellforrowatindexpath
method
Comments
Post a Comment