Skip to content

Instantly share code, notes, and snippets.

@jaisonv
Created June 15, 2016 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaisonv/d9fcd92a67615ce07bab65633e539619 to your computer and use it in GitHub Desktop.
Save jaisonv/d9fcd92a67615ce07bab65633e539619 to your computer and use it in GitHub Desktop.
Reload single row in a UITableView
// 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