Call view controller of storyBoard1 from other storyboard2 without segue in ios.

Updated 14 December 2016


Communicating Two Story Board.

if we have a two storyboard eg. storyboard1 and storyboard2 then we can call their view controller from any storyboard.

example:  calling view controller of storyboard2 from storyboard1.

Steps we have to follow.

1: open stroryboard2 and select view controller to call.

2: click on “show the identity inspector ” and here write their storyboard ID as “MainViewController”;


3: write code where you have to load  .

if your storyboard1 contains navigation controller then no need to UI navigation controller but if you have no navigation controller as a parent then we have to push using UI navigation controller.

with navigation in your story board:

without navigation in your strory board:

4: and you can pass the data by allocation memory of class.

viewcontrollerclass v= [viewcontrollerclass alloc] init];

v.first_element = @”ABC”;

v.second_element = @”due”;






. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home