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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:33:03+00:00 2026-05-24T23:33:03+00:00

I searched a lot but couldn’t find the way to measure web page loading

  • 0

I searched a lot but couldn’t find the way to measure web page loading time with iOS.
In the app, I want to show certain page loading time.. Is it possible with iOS sdk or third party sdk?

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-24T23:33:03+00:00Added an answer on May 24, 2026 at 11:33 pm

    You can load a URL request and use NSDate to see how long it took…lets assume you use a UIWebView to show your page so to measure the loading time i would capture the time when the URL is requested and then in the delegate methods – (void)webViewDidFinishLoad:(UIWebView *)webView capture the time again and take the difference, for example

    //lets say this is where you load the request and you already have your webview set up with a delegate
    
        -(void)loadRequest
        {
           [webView loadRequest:yourRequest];
    
    
           startDate=[NSDate date]
    }
    //this is the delegate call back for UIWebView
    - (void)webViewDidFinishLoad:(UIWebView *)webView
    {
       NSDate *endDate=[NSDate date];
       double ellapsedSeconds= [endDate timeIntervalSinceDate:startDate];
    }
    

    If you want to do this without the UIWebView you can just use NSURLRequest/NSURLConnection… you can do the following (I will do it synchrnosly you can also do it async)

        NSDate *start=[NSDate date];
        NSURLRequest *r= [[ [NSURLRequest alloc] initWithURL:url] autorelease]; 
        NSData *response=   [NSURLConnection sendSynchronousRequest:r returningResponse:nil error:nil];
       NSDate *end=[NSDate date];
     double ellapsedSeconds= [start timeIntervalSinceDate:end];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I searched a lot, but couldn't find anything.. I just want to ask if
Hy there I searched a lot on google, but couldn't find an answer. Maybe
I searched a lot but could not find a way to dump table relations
I've searched a lot but I couldn't find the proper answer to my question
I have searched a lot for this issue. But couldn't find the exact answer.
I searched for this a lot but couldn't find the answer. Tomcat documentation on
I searched a lot, but couldn't find anything: unsigned int unicodeChar = 0x5e9; unsigned
I searched a lot, but couldn't find how to show '<' char in C#
I searched a lot but couldn't find any solution. I am probably using the
I searched a lot but couldn't find a answer for this question: Is there

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.