I read the article about add margins to UIViewTable, but the code is Object-C, and I want the example in Swift. I want create a UIViewTable like this:

Someone can help me?
You can use the table view as you would normally use and just add a UIView in the tableView cell and apply constraints to it as i have attached in the image. And you can then add all your controls within the UIView , Also set the background colour of the tableview and table view cell to clear colour.

and you would get this output

Thanks
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