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

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -