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 7568143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:50:55+00:00 2026-05-30T14:50:55+00:00

I tried have an application with UTabBarController in storyboard. It displayed fine. however, I

  • 0

I tried have an application with UTabBarController in storyboard.

It displayed fine. however, I would like also to show firstTimViewController if user launch app for first time. hence, I need to show this view on didFinishLaunchingWithOptions in Appdelgate.

I’ve used below code:

UIStoryboard *storyboard = window.rootViewController.self.storyboard;
    StartupViewController *svc = [storyboard instantiateViewControllerWithIdentifier:@"StartupTableIdentifier"];
    [self.window.rootViewController presentModalViewController:svc animated:NO];

it gives me the following error:

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Application tried to present a nil modal view controller on target .’

  • 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-05-30T14:50:56+00:00Added an answer on May 30, 2026 at 2:50 pm

    Have you set up the storyboard for the app? The name of the storyboard should match. Click on the project, click on the target, and verify in the summary tab that the Main Scoreboard name matches the name of the .storyboard in the project.

    To make sure you have an inital view controller, make sure inital view controller is checked:

    enter image description here

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

Sidebar

Related Questions

I have tried to make the fullscreen feature of a SDI application with splitter
I have tried this but it doesn't work: tell application Preview set myfile to
I have created an fbml application. I have tried numerous examples of fbjs but
Is there is away to hide my application from task bar? I have tried:
How can you write a VB.NET Windows Forms Application via CodeDom? I have tried
I need to do some printing from my Java Swing application. I have tried
I am new to Android. I have tried an sample application for status bar
Have you tried Psyco in a wsgi application (custom, Pylons, Django...)? What does your
I have just tried to uploaded an app through the Application Loader, but it
has anybody tried using a custom classloader with BlazeDS? We have a web application

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.