Created
June 15, 2016 06:43
-
-
Save jaisonv/d9fcd92a67615ce07bab65633e539619 to your computer and use it in GitHub Desktop.
Reload single row in a UITableView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// selectedRow is the row to update | |
NSIndexPath* rowToReload = [NSIndexPath indexPathForRow:selectedRow inSection:0]; | |
NSArray* rowsToReload = [NSArray arrayWithObjects:rowToReload, nil]; | |
[tableView reloadRowsAtIndexPaths:rowsToReload withRowAnimation:UITableViewRowAnimationNone]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment