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

  • Home
  • SEARCH
  • 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 6782695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:46:27+00:00 2026-05-26T16:46:27+00:00

I am trying to load UIActivityIndicatorView custom class, however, I am trying to embed

  • 0

I am trying to load UIActivityIndicatorView custom class, however, I am trying to embed generic time delay before a new view pop’s up after my UIActivityIndicatorView shows. I tried the perform afterDelay part, but that doesn’t supposedly stop the main thread but rather execute something after 5 seconds. What I am looking for is something that could actually stop the execution until 5 seconds have been elapsed. Is there anyway to do this in iPhone? I can certainly write another method and invoke the new view popup in there after certain delay, but then I would have to invoke this way generally on every viewController. Is there any generic way to bypass this?

  • 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-26T16:46:27+00:00Added an answer on May 26, 2026 at 4:46 pm

    Your UI activity indicator won’t show until you exit to the main run loop. The way to stop execution of your app is to exit (return from) your current method.

    To finish doing stuff after 5 seconds, put it in another method, and use an NSTimer or delayed operation queue to restart your app’s processing. This is the generic solution that won’t cause the UI (and activity indicators) to freeze up.

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

Sidebar

Related Questions

I'm building my custom cell for a table view. I'm trying to load an
I'm trying to load spring beans using XmlWebApplicationContext setConfigLocations method. However, I keep getting
i am trying load file after it created from /stext command line but its
I am trying to load a table view from a cache very quickly and
I'm trying to load an assembly, instantiate a class from that assembly, and then
I'm trying to load some dynamic content after the user has logged in, using
Trying to load some XML into a document: <Custom AttributeA='' AttributeB='Bob' AttributeC='HUNTERS' COMPANY EMPLOYEES'
Im trying to load a new page when i click on a link. Its
I'm trying to load a java .class file dynamically and call it by reflection.
Trying to load generic.xaml in code but it throws a XamlParseException. Code as follows:

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.