After edit swipe not closed tableView and collectionview iOS swift

 Problem:

While swipe edit options in collection view or tableview open after going to edit screen it was not shown that cell is in swipe mode not closed yet while pop from the nextView.How to solve that?


Solution:

It's because of tableview is in edit mode itself.

                            viewControl.CollView.endEditing(true)

Call this method to end the editing.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift