Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift push view controller programmatically

let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController
self.present(nextViewController, animated:true, completion:nil)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #push #view #controller #programmatically
ADD COMMENT
Topic
Name
1+2 =