-2

When I present another view controller, it shows this view:

enter image description here

How do I change it so that my program only shows the destination view controller without this effect?

wriuhasdfhvhasdv
  • 474
  • 4
  • 20

1 Answers1

0

If you are doing this by code,

add vc.modalPresentationStyle = .fullScreen when presenting the view controller.

If you are doing this from the Storyboard,

select the storyboard segue in which you present the view controller, and on the right inspector, select Full Screen for Presentation.

Taka Kai
  • 33
  • 4