View Controller presenting like page sheet in iPad

My app presents a View Controller in iPhone like this:

But in the iPad it presents almost like a page sheet:

I’m instantiating the View Controller programatically as a Child View Controller within a SegmentedControlViewController e.g.:

How can I get the iPad to present the View Controller like the iPhone?

This is because of the different presentation modes. What you’re seeing is the default modal presentation mode and how it looks different on iPad vs iPhone.

Change the presentation mode of the view controller to .fullScreen Before presenting it.

Also I would recommend this view not be full screen and you keep it as is.

You have ingredients on the left and the add to shopping cart on the right. When it’s full screen those labels and buttons will be very far apart and hard to tell what label goes to what button