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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:33:34+00:00 2026-05-24T01:33:34+00:00

I have a rootviewcontroller and a loginviewcontroller. As soon as my app has finished

  • 0

I have a rootviewcontroller and a loginviewcontroller. As soon as my app has finished loading up, I would like the rootviewcontroller to load the loginview associated with the loginviewcontroller. This is because the very first screen will be the user login…..

How is this possible?

The application flow should be as follows:

rootViewController —–immediately loads—–> loginviewcontroller ——-user logs in——–> taken to mainmenuviewcontroller

The rootviewcontroller contains all the other controllers because it essentially holds global variables that store the results of processes carried out by other objects…

  • 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-24T01:33:36+00:00Added an answer on May 24, 2026 at 1:33 am

    It depends on your overall UI architecture.

    Without having much information, given the fact that it is a login view, I would push it as a modal view. Look at this document for more info.

    In short, you can call presentModalViewController:animated: on your rootviewcontroller and pass it the loginviewcontroller. The login view controller will then be shown on top of the root view controller.

    [rootViewController presentModalViewController:loginViewController animated:YES];
    

    You should provide a way for your login view controller then to be dismissed and return control to the root view controller.

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

Sidebar

Related Questions

I have this button on the leftside of my UISplitViewController (RootViewController) that has a
I have a RootViewController & it's associated nib or xib file. This nib is
I have a RootViewController that has some UITabBarController properties: @interface RootViewController : UIViewController<LoginViewDelegate, UITabBarControllerDelegate>
I have a SplitViewController based app. It uses a rootViewController inside a popoverController. The
I have a viewController with this: @interface RootViewController : UIViewController <UITextFieldDelegate>{ Then I have
I have a UITableViewController, which is RootViewController. It's XIB only has a table view.
I have a navigation controller app. I created a RootViewController class with Xib file.
I`m building simple app which shows information about most car brands. I have rootViewController
I have a RootViewController that is a UIViewController with a UITableView. This RootViewController pushes
I have been trying to add/implement this example to my existing Split View app

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.