KKNavigationController
KKNavigationController copied to clipboard
It sometimes show an black view when drop to pop view controller.
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!