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

store cgpoint in userdefaults iOS swift