I'm trying to make separators with 20 pt insets from left and right. whatever I do I still get a full line from one edge to the other.
what I tried: In attributes inspector choose separator - Custom Inset and added 20 pixel from left and right.
I also tried in viewDidLoad
-
self.tableView.separatorStyle = UITableViewCellSeparatorStyle.SingleLine
self.tableView.separatorInset = UIEdgeInsetsMake(0, 20, 0, 20)
I still get a full line.. any help will be appreciated thanks