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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:14:27+00:00 2026-05-28T17:14:27+00:00

In my Map application I have called web service method in ViewDidLoad method. Therefore

  • 0

In my Map application I have called web service method in ViewDidLoad method. Therefore my
splash screen displays for longer time (more than 5sec) if network is poor to load web service data on my first screen MapView.

I want to show Default.png just for 3sec and then my first screen with loading indicator like
recent facebook application on iPHone. What is the logic behind the app. I tried many things but no success yet. Thanks in advance.

  • 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-28T17:14:28+00:00Added an answer on May 28, 2026 at 5:14 pm
    You will need to use performSelector: withDelay: method and provide the delay to 3-4 seconds, whatever is desired. NSTimer will also work but perfomSelector is a more lighter approach.
    
    Try using it in the function where you allocate the splash image. In this case as u said u need to call from ViewDidLoad another function something like performSelector:removeSplashScreen and put this in [self performSelector:removeSplashScreen afterDelay:4 withObject:imgSplash];
    
    THis will call the removeSplashScreen after 4 seconds and hence pass the splash image as parameter to this function.
     Inside removeSplashScreen do something like this:
    -(void)removeSplashScreen:(UIImageView*)imgSplash {
    
    //remove splash hence 4 seconds have passed.
    [imgSplash removeFromSupreview];
    [imgSplash release];
    
    //After this allocate UIActivityIndicator view or whatever custom view for further loading
    //You can also call an NSURLConnection here for the data parsing as the splash has been //removed thereby showing an activity to user.
    
    }
    
    //hope this helps :)
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to map a REST Webservice URL like http://server:8080/application/service/customer/v1 to createCustomer method in
I have a spring-hibernate application which is failing to map an object properly: basically
In my spring application context file, I have something like: <util:map id="someMap" map-class="java.util.HashMap" key-type="java.lang.String"
I have an application which scrapes soccer results from different sources on the web.
I have an application with map and want to zoom to the current location,
I have a web application project being developed in VS2010 targetting Framework 4.0. I
I have an Application class. Entity framework created a navigation property called Assistants .
Background: This is for a Ruby on Rails web application. I have a background
I have a web application of a conference that has been closed years ago.
I am developing a web application using Struts 2.1.2 and Hibernate 3.2.6.GA. I have

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.