I have found answer to this question in below link.But is in objective C.Please help to get it's Swift representation.
Changing the location of the minus sign in UITableView in Edit mode
I have found answer to this question in below link.But is in objective C.Please help to get it's Swift representation.
Changing the location of the minus sign in UITableView in Edit mode
Working example in Swift 3.0
override func layoutSubviews() {
super.layoutSubviews()
for subview in self.subviews {
if subview.isMember(of: NSClassFromString("UITableViewCellEditControl")!) {
var newFrame: CGRect = subview.frame
newFrame.origin.x = 280
subview.frame = newFrame
}
}
}
Edit: Result