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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:39:04+00:00 2026-05-25T13:39:04+00:00

I have a code that currently loads a NIB file like below : Login

  • 0

I have a code that currently loads a NIB file like below :

Login *monLogin = [[[Login alloc] init] autorelease];
[self presentModalViewController:monLogin animated:YES];

but the app is TabBar App (xcode template) and is suppose to also load the bottom menu.
how can I load this NIB file with the UITabBarController included?

  • 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-25T13:39:04+00:00Added an answer on May 25, 2026 at 1:39 pm

    my answer to your other question might help. But now I’m a little confused about what you’re attempting to do. Let me know and I can help you further.

    The modal view will not include the TabBar because a TabBar owns the view controllers represented by each tab. Why do you want the TabBar included in the login view? If you really want a TabBar in your modal view, then you’ll need to put your ‘log in’ view controller inside a TabBar view controller, and then present the TabBar view controller modally.

    However, I’d recommend that you have the TabBar in the main part of your app, and present the ‘log in’ view modally without a TabBar included. Once the user is finished logging in, you can dismiss the ‘log in’ view, which returns the user to the main part of your app.

    To dismiss the modal view controller, set up a delegate system (look through the utility app template to see how this works). If setting up your own delegate protocol is too difficult at the moment, then you can use a workaround in the mean time. In your ‘log in’ view controller code, after the user has logged in successfully, you can send a message to your parent view controller (the one that presented the modal view) to dismiss it’s modal view (your ‘log in’ view).

    [self.parentViewController dismissModalViewControllerAnimated:YES];
    

    This is bad form though. Once you’re up to it you should use a delegate callback to have the parent view controller dismiss the modal view.

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

Sidebar

Related Questions

I currently have the following code that loads a UIWebView from another View. Now
I currently have code that does the following: private final static ExecutorService pool =
I currently have some code that will produce a crash dump when my application
I currently have some code that pulls down a list of users in a
I have written code that opens 16 figures at once. Currently, they all open
I've been trying to implement unit testing and currently have some code that does
I have a select query that currently produces the following results: Description Code Price
I have a server that hosts my Subversion code base. That server is currently
Currently I have a small piece of PHP code that gets one random row
I have this AS3 slideshow code, that loads an XML with a list of

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.