2017-10-19 137 views

回答

0

工作實施例中夫特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 
     } 
    } 
} 

編輯:Result

相關問題