How to remove animation glitch ?
- by hib
Hi all ,
I am downloading and then parsing some data on separate thread and then updating my ui on main thread with the following code but in this scenario I am getting animation "glitch" . I have read this word somewhere .
- (void)didFinishParsing2:(NSArray *)appList
{
[self performSelectorOnMainThread:@selector(handleLoadedApps2:) withObject:appList waitUntilDone:NO];
self.queue = nil; // we are finished with the queue and our ParseOperation
}
- (void)handleLoadedApps2:(NSArray *)loadedApps{
[activityLabel removeFromSuperview];
self.controller.MyArray = (MyClass *)[arrMyArray objectAtIndex:0];
[[MySharedClass sharedSource].detailSource setObject:self.controller.MyArray forKey:someObject];
self.controller.hidesBottomBarWhenPushed = YES;
isPushed = YES;
[[self navigationController] pushViewController:self.controller animated:YES];
}
Can anyone tell me what I am doing wrong so that I can remove the animation glitch .