I present a viewController with a transparent background. But the components on this viewController are invisible when they are presented. An empty viewController is observed. I gave an alpha value and a black background color. This is my code when I call transparent viewController
if indexPath.row==0
{
let modalViewController = PopUpViewController()
modalViewController.modalPresentationStyle = .overCurrentContext
present(modalViewController, animated: true, completion: nil)
}

But on this controller there is an orange color UIView, invisible Thanks in advance

source
share