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

How to blink a button iOS swift?

iOS flutter while run to iPhone it had the error - Cannot find type 'PhoneNumberKit' in scope