go to view controller programmatically swift

let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController
self.present(nextViewController, animated:true, completion:nil)

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
swift display view controller programmatically Add view to view controller programmatically Swift swift present view controller programmatically present view controller programmatically swift move to another view controller programmatically swift 4 how to push a view controller programmatically in swift push view controller programmatically swift 5 navigation view controller programmatically swift swift open view controller programmatically display view controller programmatically swift open view controller programmatically swift navigate to another view controller programmatically swift go to new view controller programmatically swift ios show view controller programmatically present view controller programmatically swift 5 show view controller programmatically swift swift create view controller programmatically swift 5 create view controller programmatically create view controller programmatically swift how to present a view controller programmatically swift swift 5 actionAtItemEnd view controller programmatically swift 5 swift show view controller programmatically call view controller programmatically swift swift navigate to view controller programmatically how programmatically call view controller in swift how to push view controller programmatically in swift 5 how to push view controller programmatically in swift navigate to new view controller swift navigate to vc of different storyboard how to navigate page with controller object in swift 5 present to another viewcontroller in navigation controller swift swift programmatic view controller swift navigate to another view go to storyboard view controller programmatically navigate to uiviewcontroller programmatically swift site:stackoverflow.com navigate to uiviewcontroller programmatically swift swift go to another view controller push view controller programmatically swift go to view controller programmatically swift
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source