Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 188.8.131.52 release ready!
Updated 25 February 2020
As we know, if we want to navigate from one view controller to another between different Storyboards, it requires to code programmatically.
In this blog, I am discussing how we can create segues between multiple storyboards in the same Xcode project using storyboard references.
The drawback of using Single Storyboards is that it becomes complex to manage large projects.
Storyboard References are very helpful when you decide you decide to divide your views between storyboards.
Step 1: Create a new Single View Application project.
Step 2: There will be main.storyboard present by default. Now, create a new storyboard file.
Step 3: Now, create a new view controller inside the new storyboard.
Step 4: On main.storyboard click on (+) Library and search for Storyboard Reference.
Step 5: Drag and Drop the Storyboard Reference into the Main.StoryBoard . Now, in the attributes inspector, select the new.Storyboard from Storyboard dropdown and set the Reference ID as the Storyboard ID of the NewViewController in new.StoryBoard .
Now, we can create a segue from FirstViewController to this Storyboard reference for new.Storyboard and this will work as a normal segue.
Please follow the above step and and if you have any issue or suggestion you can leave your query/suggestion in the comment section I will try to solve that.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.