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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:54:06+00:00 2026-06-09T13:54:06+00:00

Similar to this question: Adding subview, gets delayed? But I don’t think you can

  • 0

Similar to this question: Adding subview, gets delayed?
But I don’t think you can pushViewController in a separate thread so is this really impossible?

Here is what I’m trying to do:

I have a TableView and when a cell is pressed, I want to call

[self.view addSubview:LoadingView]

to display an overlay with a spinner. Then I call

self.navigationController.navigationBar.hidden = NO;
[self.navigationController pushViewController:newGameViewController animated:YES];

However, the subview only displays for a split second (~1-4 seconds after the cell selection occurs while it waits for the new viewcontroller to initialize).

Is there any way to get some sort of loading indicator to occur at the instant the cell is selected?

  • 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-09T13:54:07+00:00Added an answer on June 9, 2026 at 1:54 pm

    Okay. What about this. In your didSelectRowAtIndexPath start your spinner (via addSubview …) and start loading your stuff from the server. If that’s finished remove the spinner an push your new view controller onto the stack. Make sure the user can’t touch any other cell during that time. By the way. From a users perspective I’d find it mor intuitive if the new controller is loaded immediately and displays some waiting message.

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

Sidebar

Related Questions

Different from this question , but similar in that I don't get an error
This question is similar to this one, but with an extra wrinkle: Auto-removing all
Rails 3.1, ActiveAdmin 0.3.4. My question is somewhat similar to this one but different
I have posted similar question previously, but this time I am providing some code
This question is similar to How can I specifiy what access I need from
This Question is similar but the accepted answer solves it server side, I'm interested
(similar to this question , but with another twist). IIS 6, if that turns
My question is very similar to this question - Addin parameter for Oracle except
Similar to this question I am using a custom VirtualPathProvider to retrieve views that
Similar to this question asking about relatively light-weight data entry / editor application development,

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.