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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -