I am trying to create a second Storyboard. I want it to be similar to the first Storyboard background. I insert UIImageView and fit it all the page, however, why it is not fitting the entire page as shown in the image below:
Asked
Active
Viewed 1,046 times
0
-
Looks like the view controller itself isn't presented full screen, not the image. – Chris Aug 05 '20 at 12:34
2 Answers
0
let vc = UIViewController()
vc.modalPresentationStyle = .fullScreen //or .overFullScreen for transparency
self.present(vc, animated: true, completion: nil)

Ved Sharma
- 701
- 1
- 6
- 20