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

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift