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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:25:27+00:00 2026-05-18T08:25:27+00:00

In developing my current iPhone application, I’m having issues handling the login, logout functionality

  • 0

In developing my current iPhone application, I’m having issues handling the login, logout functionality of presenting views.

I’d like to have my application have the following flow, but I cannot seem to figure out the proper viewcontroller setup:

When a user is not logged in, a login screen is immediately presented. Upon a successful login, the main application is displayed. The main application is a TabBarController. When returning back to the application, if you have already logged in, the login window will not display, but immediately go into the main tab bar. Once in the app, you can “logout” and it will take you back to the login scren.

Please let me know if I need to go into further detail. There are a few other questions on here that are similar but not exactly what I’m looking for.

Thanks!

  • 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-18T08:25:27+00:00Added an answer on May 18, 2026 at 8:25 am

    I would consider two ways of doing this:

    have the login screen be a modal view controller that pops over the main UI.
    e.g.
    if (currentCredentials == nil) [self presentModalViewController:loginView animated:YES];

    or alternately, handle switching between views using your app delegate.

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

Sidebar

Related Questions

I have one problem when developing iphone application. I would like to know if
I am developing an iPhone application . I have tested it on iPhone simulator
If I understand this correctly: Current CPU developing companies like AMD and Intel have
I'm new to mono/iPhone and I'm developing an application that views a PDF document
I'm developing an application that tracks the user's current position and stores it into
I'm developing a JSF web application, with the current 2.1.7 JSF version . Actually,
I am developing an Iphone application in which i am using GoogleAPI to find
I'm developing an iPhone application that will access XML files (or something similar) from
I'm developing an OpenGL-ES game of life program for the iPhone and I have
Currently developing my first Native iPhone application, the application is going to be integrating

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.