You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes navigating back through nav stack will flash present the 'toVC' view before animating it into display, which produces a nasty jumpiness.
A resolution seems to triggering a layout before performing the seemingly necessary animation to load visible cells.
// Move the destination in place
toVC.view.frame = [transitionContext finalFrameForViewController:toVC];
// And kick it aside
toVC.view.transform = CGAffineTransformMakeTranslation(delta, 0);
[transitionContext containerView].backgroundColor = fromVC.view.backgroundColor;
[[transitionContext containerView] layoutIfNeeded];
// First step is required to trigger the load of the visible cells.
[UIView animateWithDuration:0delay:0options:UIViewAnimationOptionCurveEaseIn animations:^{} completion:^(BOOL finished) {
The text was updated successfully, but these errors were encountered:
Sometimes navigating back through nav stack will flash present the 'toVC' view before animating it into display, which produces a nasty jumpiness.
A resolution seems to triggering a layout before performing the seemingly necessary animation to load visible cells.
The text was updated successfully, but these errors were encountered: