How to create segues between different storyboards in the same Xcode project using storyboard references| iOS?

This article explains how we can create segues between multiple storyboards in the same Xcode project using storyboard references.

an image

How to use storyboard references?

  • Create a new project (Single view application).
  • Create a new storyboard file and name it Second.storyboard .
  • Now, create a new ViewController inside the Second storyboard and name it SecondViewController .
Main storyboard and FirstViewController
Main storyboard and FirstViewController
Second storyboard and SecondViewController
an image

Note: Storyboard references were introduced in iOS 9 and macOS 10.11.

References:

If you enjoyed reading this post, please share and give some claps so others can find it 👏👏👏👏👏 !!!!

You can follow me on Medium for fresh articles. Also, connect with me on LinkedIn.

--

--

iOS and tvOS developer, dreamer, photographer 🤨

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store