I am creating one book reader Application. In my application I am loading the pages as images from Web URL.When loading each images I like to show the loading percentage like below
Please suggest me some ideas
I am creating one book reader Application. In my application I am loading the pages as images from Web URL.When loading each images I like to show the loading percentage like below
Please suggest me some ideas
Here are few opensource controls that might help you
https://www.cocoacontrols.com/controls/koaprogressbar
I've made an open source progress view that is pretty customizable, and will be even more so in its upcoming 2.0 release. You can find it at lightdesign/LDProgressView. Please let me know if it suits your needs or how it might be changed to do so.
Take a look at NSURLConnectionDataDelegate (protocol of NSURLConnection). https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLConnectionDataDelegate_protocol/Reference/Reference.html#//apple_ref/occ/intf/NSURLConnectionDataDelegate
You need to implement the following method:
(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
In order to support this kind of behaviour.