Thursday, December 7, 2023
HomeiOS Developmentios - Methods to let again viewcontroller do not shrink when again...

ios – Methods to let again viewcontroller do not shrink when again viewcontroller current in one other viewcontroller?


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)
}

image1:
image1_perfect1

image2:
image2_bad2



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments