I would like to create rounded cells for my UITableView. But not for each cell, only the first and the last row (as shown in my screen)
The first is not a problem, i am only using:
tableView.layer.cornerRadius = 10
But what is with the last one? Any ideas how to solve that? Thanks in advance.
You use this code aftertableView.layer.cornerRadius = 10
tableView.layer.masksToBounds = true
I hope I have answered your question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With