I need to make the UIParallaxDimmingView white or transparent.
vc1 has a white background is affected by this UIParallaxDimmingView making it kind of a light gray while transitioning to the vc2 after the animation is ended the vc2 get its white background.
I have made a research and I have found this code but doesn't work for me.
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
if (navigationController.viewControllers.count > 1)
{
self.navigationController?.interactivePopGestureRecognizer?.delegate = self
navigationController.interactivePopGestureRecognizer?.isEnabled = true;
}
else
{
self.navigationController?.interactivePopGestureRecognizer?.delegate = nil
navigationController.interactivePopGestureRecognizer?.isEnabled = false;
}
}
Mysterious _UIParallaxDimmingView. What is it?
App freeze on ios 8 when push or pop
iOS App Freezes on PushViewController
Update This was the initial question How to remove UIParallaxDimmingView in pop UIViewController?