Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.tableView.contentInset = UIEdgeInsetsMake(0, 10, 0, 10);
- import UIKit
- class MyTableViewCell: UITableViewCell {
- override func layoutSubviews() {
- super.layoutSubviews()
- contentView.frame = UIEdgeInsetsInsetRect(contentView.frame, UIEdgeInsetsMake(0, 16, 0, 16))
- }
- }
Add Comment
Please, Sign In to add comment