Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

after redirect from another viewcontroller in swift 5 make full view view controller

let storyBoard: UIStoryboard = UIStoryboard(name: "TestDialog", bundle: nil)
let newViewController = storyBoard.instantiateViewController(withIdentifier: "AlrtDoalogTestViewController") as! AlrtDoalogTestViewController
let vc = UIViewController()
newViewController.modalPresentationStyle = .fullScreen
self.present(newViewController, animated:false, completion:nil)
 
PREVIOUS NEXT
Tagged: #redirect #viewcontroller #swift #full #view #view #controller
ADD COMMENT
Topic
Name
4+6 =