I am customizing the background of some First, you need to import Quartzcore: , whatever you need to do is round the corners of for a single cell in cellphone detection API: UITableViewCell and I want to set the radius to the same corner As they are by default when the style of the table view is grouped,
[self.tableView.layer cornerRadius] gives me 0, can someone tell me what the default value is or How do I get it?
# Import & lt; Quartzcore / quartz coir H & gt; From
myTableView.layer.cornerRadius = 5; If the OR CellForRowAtIndexPath: (NSIndexPath *) index
cell .layer.cornerRadius = 5;
No comments:
Post a Comment