How to change separator height in UITableView Swift 3?
问题 Although there a few answers already on this topic. None of them cover Swift 3 and they are from a long time ago. What is currently the best way to change the separator height in a UITableView in Swift 3? 回答1: Updated for Swift 3: If you want to change the height of the UITableView separator, use the code below. You should add it to the UITableViewCell method awakeFromNib() to avoid re-creation. override func awakeFromNib() { super.awakeFromNib() // Initialization code let mScreenSize =