mates
I am trying to duplicate the exact look of iOS 6 tableview static cell and section of static cells on iOS 9 and above with Swift 4.
I want to achieve this look:
This code rounds the cell edges:
@IBOutlet weak var cell: UITableViewCell!
cell.layer.cornerRadius = 10
cell.layer.masksToBounds = true
Questions:
- How to round the edges of a section?
- How to indent cell and section borders inwards?