Answers for "ios increase the gap between table view cell programmatically objective-c"

1

swift uitableview cell spacing

// Inside UITableViewCell subclass
override func layoutSubviews() {    
    super.layoutSubviews()

    contentView.frame = contentView.frame.inset(by: UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8))
}
Posted by: Guest on March-25-2020

Code answers related to "ios increase the gap between table view cell programmatically objective-c"

Code answers related to "Swift"

Browse Popular Code Answers by Language