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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:00:46+00:00 2026-05-18T05:00:46+00:00

I have implemented video play functionality in iphone.In which i am downloading video file

  • 0

I have implemented video play functionality in iphone.In which i am downloading video file from the server and then play.
But I want to display progress bar during downloading video file.For progressbar i need to calculate timing i don’t know how to calculate time how much will take time for downloading video.

So please help me for this query.

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-18T05:00:46+00:00Added an answer on May 18, 2026 at 5:00 am

    You can get the expected total file size in the following callback method of NSURLConnection’s NSURLConnectionDataDelegate:

    - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
    {
       self.expectedTotalSize = response.expectedContentLength;
    }
    

    then in following callback method you can calculate how much data has been received:

    - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
    {
       self.recievedData += data.length;
    }
    

    And you can use UIProgressView to show current downloading status on the screen.

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

Sidebar

Related Questions

I have implemented a raw rtp stream. I want to play it using VLC
I want to play the video as splash screen.I have implement the play video
Is there a way make a pipeline that will play any video file (which
I have implemented application in which i am using tabs and want to fetch
I'm trying to build/implement a Flash video player to play videos. I have looked
I have implemented a simple file upload-download mechanism. When a user clicks a file
i have to implement flash streaming for the relaunch of our video-on-demand system but
I have some code that works fine to show YouTube Video. What I want
I'm trying to implement a MPMoviePlayerView but I can't play the video files, I
I have implemented chromeless player and so far the necessary controls such as play,

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.