Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

view controller modal fullscreen programmatically swift 5

let vc = self.storyboard?.instantiateViewController(withIdentifier: "storyboardID_cameraview1") as! CameraViewController
  
vc.modalPresentationStyle = .fullScreen
    
self.present(vc, animated: true, completion: nil)`
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #view #controller #modal #fullscreen #programmatically #swift
ADD COMMENT
Topic
Name
8+7 =