ios - How to prevent UITableViewCell to use leading space in editing mode? -


i have tableview , in editing mode not want use leading space, want keep content use full available width.

enter image description here

self.tableview.setediting(true, animated: false) 

i set editing style this:

override func tableview(tableview: uitableview, editingstyleforrowatindexpath indexpath: nsindexpath) -> uitableviewcelleditingstyle {      return .none }} 

uitableviewdelegate has method purpose

override func tableview(tableview: uitableview, shouldindentwhileeditingrowatindexpath indexpath: nsindexpath) -> bool {      return false } 

Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -