I need to lock viewcontroller when i current one other viewcontroller, like following image1.
I additionally change vc parameter modalPresentationStyle and never work to this example.
And easy methods to obtain this outcomes?
Now I current viewcontroller additionally like following image2.
Have any parameter that I miss to set?
let vc = ExampleVC(nibName: "ExampleVC", bundle: nil)
var naviVC = UINavigationController(rootViewController: vc)
naviVC.modalPresentationStyle = .pageSheet // any worth not work
DispatchQueue.essential.async {
self.current(naviVC, animated: true, completion: nil)
}