Home > Software engineering >  Trying to Change my ViewController to full screen but can't
Trying to Change my ViewController to full screen but can't

Time:03-09

I know there are many questions and answers about how to make a ViewController full screen. My problem is little odd. I am not using Navigation Bar and when I try to set my modalPresentationStyle to fullScreen my View is showing and than hiding.

enter image description here

enter image description here

CodePudding user response:

This is probably due to code you have not shown us, such as a bad viewWillDisappear in the previous (select place to ride) view controller.

You didn't experience the issue before because a presented view controller that isn't full screen doesn't cause the previous view controller to disappear.

  • Related