Get the last row in a section iOS swift

 Solution:

How to get the last row in one section.You can change only the last index except other indexes in the table.

            let lastRowIndex = tableView.numberOfRows(inSection: indexPath.section) - 1


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