I am facing a very basic problem while pushing a view controller. When I am pushing a new controller, the last controller's content is visible on screen. I am pushing the new controller as follows:
DispatchQueue.main.async {
self.navigationController?.pushViewController(reviewFeatureViewController, animated: true)
}
I had that too occasionally. What helped for me was making sure the backgroundColor is not .clear try this: