App crashes when i try to delete a row in TableView iOS swift

Solution:

If you are tried to delete the row and not delete the element from array it will be occurres.

So first you have to execute the delete row code then remove the indexpath.row element from array then reload the table.It will works

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift