//Put this code where you want to reload your table view
dispatch_async(dispatch_get_main_queue(), ^{
[UIView transitionWithView:<"TableName">
duration:0.1f
options:UIViewAnimationOptionTransitionCrossDissolve
animations:^(void) {
[<"TableName"> reloadData];
} completion:NULL];
});
thanks , it work perfectly :)
ReplyDeleteI just have a small question, why is it in a dispatch_async? Thank you.
ReplyDeleteThanks you very much for the hint
ReplyDelete@Alaa It's performing the animation on the same thread, it's just positioning it at an optimal place in the run loop
ReplyDeleteThanks
ReplyDelete