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

  • Home
  • SEARCH
  • 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 7079077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:37:37+00:00 2026-05-28T06:37:37+00:00

Im using the new storyboarding features with ios. I have a tab bar which

  • 0

Im using the new storyboarding features with ios. I have a tab bar which also has a class name called mytabbarcontroller. However I do not have a seperate class for this as in a .h/.m file for this since all its implementation is in different views which is sorted. Now i have a view controller which appears before the tab bar with an activity indicator. Once it stops it has to move to the tab bar controller. However i cant initialise it with mytabbarcontroller since i dont have .h files to import. Currently it goes to a tab bar controller with nothing on it – basically it creates a new tab bar controller. My code is as follow. I also tried initwithnibname and gave the nib name – i.e mytabbarcontroller. However this throws an error.

UITabBarController *controller = (UITabBarController *)[[UITabBarController alloc] init ];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];
  • 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-28T06:37:38+00:00Added an answer on May 28, 2026 at 6:37 am

    because you are declaring a new UITabBarController, try this instead, import and intialize the first view of the tab bar, for example

    FirstSceneController.h

    import "FirstTabViewController.h"

    …

    FirstTabViewController *firstTab = [self.storyboard instantiateViewControllerWithIdentifier:@"mytabbarcontroller"];
    [firstTab setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
    [self presentModalViewController:firstTab animated:YES];

    ….
    and also be sure to add a navigation controller and connect it to your first scene.

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

Sidebar

Related Questions

ADO.NET has the notorious DataRow class which you cannot instantiate using new. This is
Using new simple_html_dom How I can get The Link The text(name) div class=stackoverflow href=http://stackoverflow.com>Stackoverflow
I have a class A that allocates memory in its constructor using new .
I'm using the new Storyboarding feature in Xcode 4.2, and I've run into a
I've recently started using new C++11 features like lambda expressions to make my code
I have a question about using new[] . Imagine this: Object.SomeProperty = new[] {string1,
I created a CultureInfo object using new CultureInfo(fr-FR). Now I have a number that
I have this test in my test base: public void WorksWithAreaUsers() { using (new
I need to call function whenever class is created using new. Currently I need
I have the following code that I have tested and works: using (new Impersonator(Administrator,

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.