Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8560445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:16:39+00:00 2026-06-11T16:16:39+00:00

I have this line of code: [UIStoryboard storyboardWithName:(NSString *) bundle (NSBundle *)]; and a

  • 0

I have this line of code:

[UIStoryboard storyboardWithName:(NSString *) bundle (NSBundle *)];

and a storyboard file. Where do I actually insert the name of the controller, and where do I find the bundle?

It is a stupid question, but I can’t figure it out

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:16:40+00:00Added an answer on June 11, 2026 at 4:16 pm

    Everything is really straightforward!

    This is the code:

    UIStoryboard *storyboard = 
    [UIStoryboard storyboardWithName:@"MainStoryboard" 
                              bundle:[NSBundle mainBundle]];
    

    Where is @”Main Storyboard” is the name of your .storyboard file. Bundle is just the bundle that contains your .storyboard file, usually is the main bundle of your app.

    If you want to get access to some of the UIViewControllers, for example, with the purpose of pushing it to the stack of your UINavigationController, then you must do this:

    UIViewController *yourViewController = 
    [storyboard instantiateViewControllerWithIdentifier:@"viewControllerIdentifier"];
    

    You can set Identifier to your UIViewController in the Xcode’s Identity Inspector!

    Hope it helps you!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code in my controller and want to test this code line
I have this line of code: <a href=# id=profilelink name=profilelink value=<?php echo $id./.$block_record;?> onClick=return
I have this line of code: <a href=# id=profilelink name=link2 onClick=viewornot(<?php echo $freechat_id ?>)><?php
I have this line of code in java: new BufferedWriter(new OutputStreamWriter(new FileOutputStream(name, append), UTF-8));
I have this line of code: NSString *dateString = [self.dates objectAtIndex:row]; that gets set
I have this line of code: <%= link_to Add to cart, :controller => car,
I have this line of code to convert NSString to NSData: NSData *data =
I have this line of code: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(stop) name:UIApplicationDidEnterBackgroundNotification object:nil]; Works fine
I have this line of code but it throws an error. What is the
I have this line of code: this.Path = pathLookUpLocation.GetValue(RegLookupKey, null).ToString(); When I run static

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.