ios - How to programmatically invoke UITableView swipe left -


i want customise delete indicator uitableview in editing mode.

enter image description here

since can't seem find way customise appearance style of delete button shown in first image, i've created own animation own button.

enter image description here

i have deactivated red standard button using:

func tableview(_ tableview: uitableview, editingstyleforrowat indexpath: indexpath) -> uitableviewcelleditingstyle {      return .none  } 

now question: how realize same behaviour standard button? if press red button, invokes swipe left on cell showing wanted delete button.

enter image description here

help appreciated.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -