iphone - Determine the speed on internet programmatically - Stack Overflow
If you use NSURLConnection
to grab a large file (say, 1 MB or greater), you can use a delegate to track intermediate download progress.
Specifically: If you measure the difference in bytes downloaded and the difference in time between calls to the delegate, then you can calculate the ongoing speed in bytes per second (or other time unit).
Read full article from iphone - Determine the speed on internet programmatically - Stack Overflow
No comments:
Post a Comment