KKNavigationController icon indicating copy to clipboard operation
KKNavigationController copied to clipboard

It sometimes show an black view when drop to pop view controller.

Open XuYanci opened this issue 9 years ago • 0 comments

i thinks perhaps it capture background & back mask view . when i add this code : void (^completion)(BOOL) = ^(BOOL finished) { _isMoving = NO; if (finishPop) { [self popViewControllerAnimated:NO];

        /*! forbid black screen */
        [self.backgroundView removeFromSuperview];
        self.backgroundView = nil;
        self.backgroundView = nil;

        CGRect frame = self.view.frame;
        frame.origin.x = 0;
        self.view.frame = frame;
    } else {
         /*! forbid black screen */
        self.backgroundView.hidden = YES;
        [self.backgroundView removeFromSuperview];
        self.backgroundView = nil;
    }
};

it shows ok!

XuYanci avatar Apr 14 '16 15:04 XuYanci