Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CGContextRef context = UIGraphicsGetCurrentContext();
- [UIView beginAnimations:nil context:context];
- [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
- [UIView setAnimationDuration:0.5];
- [self.tableView reloadData];
- [UIView commitAnimations];
- [tableView beginUpdates];
- [tableView deleteSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:YES];
- [tableView insertSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:YES];
- [tableView endUpdates];
- UITableViewRowAnimationFade,
- UITableViewRowAnimationRight,
- UITableViewRowAnimationLeft,
- UITableViewRowAnimationTop,
- UITableViewRowAnimationBottom,
- UITableViewRowAnimationNone,
- UITableViewRowAnimationMiddle
- [_tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
Add Comment
Please, Sign In to add comment