I want to lock viewcontroller when i present another viewcontroller, like following image1.
I also change vc parameter modalPresentationStyle and not work to this situation.
And how to achieve this results?
Now I present viewcontroller also 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 value not work
DispatchQueue.main.async {
self.present(naviVC, animated: true, completion: nil)
}






