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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:35:44+00:00 2026-06-12T23:35:44+00:00

I have done a login for my app, so, to finish it, I modified

  • 0

I have done a login for my app, so, to finish it, I modified the method didfinishlaunching from the delegate.
In this method, I take the session from the userdefaults and check if is valid(calling to my server). If it’s correct, I load the main viewcontroller, if not, the login viewcontroller.

The problem is that in the method didfinishlaunching I dont load any viewcontroller, because I am waiting the response from the server. I load the viewcontrollers in the connection’s delegate. This causes me 2 problems:

  • An error telling me I have to have one main view controller loaded
  • If I do, I put an viewcontroller, the time that I am waiting the response that viewcontroller is displayed, and it’s very ugly.

I think that one solution may be to do another viewcontroller, only with a loading bar, and load it while I wait the response…

  • 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-06-12T23:35:45+00:00Added an answer on June 12, 2026 at 11:35 pm

    I did exactly what you are talking about in an app I’ve made: at the beginning I create a “SplashScreenViewController”, that has an UIImageView equal to the image I use as a splashscreen for my app.
    Here I have a loading wheel and I load every kind of data I need. When I receive every data I need, I load my root controller.

    You can do the same, but you can load your controller relating to the session status.

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

Sidebar

Related Questions

I am trying to do this tutorial https://developers.facebook.com/docs/howtos/login/getting-started/ I have done everything necessary(I think)
I want to place a login inline-form in a twitter navbar. I have done
on my web site I want to have login/registration form in modal window done
I have done some looking and I found this: http://www.codeproject.com/Articles/14439/The-ScrollableListBox-Custom-Control-for-ASP-NET-2 but to me it
I thought I'd have a crack at building an Android app having not done
I have done a facebook login in my site.That is users can login in
I have 2 SOAP services that I want to call from an IPad app.
# I need this behaviour: # 1) check if the service from flash is
We have a non-SSL ASP.NET web app that allows a user to login (ASP
I have done a lot of research and I can't work out if this

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.