Questions tagged [uiprogressview]

UIProgressView is an iOS user interface element that depicts the progress of a task over time.

UIProgressView is an iOS user interface element that depicts the progress of a task over time. It is most commonly used to show the current progress of an upload/download from the network or a long-running computation.

As of iOS 5, the track (the background) and progress (the bar itself) images can be customized via .

For more information, please refer to the Apple Documentation for UIProgressView.

541 questions
3
votes
1 answer

How can I create protocol delegate to observe Alamofire progress and to use in ViewController swift

How can I create protocol (delegate function) in Alamofire download function which will observe progress.fraction And then I can use it in any viewController tableView? My Alamofire function is in main common class and I have to retrieve progress…
user12435629
3
votes
2 answers

Swift: Custom UIAlertController view

The docs say that subclassing UIAlertController is bad The UIAlertController class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified. So what is the recommended way…
Simon Hessner
  • 1,757
  • 1
  • 22
  • 49
3
votes
3 answers

How to change ProgressView borderColor

My objective is to make ProgressView border colored like with green, red etc as mentioned in above screenshot. I am using Custom classes provided by this url. But there is no such border coloring format provided…
Tariq
  • 9,861
  • 12
  • 62
  • 103
3
votes
2 answers

UIProgressView with rounded progress track edge - Swift 3

I have a UIProgressView and want to have a corner radius for the filled part (progress part) , I am able to make the corners of the progress view rounded using the cornerRadius property , I also want to the filled progress edge to be rounded.Please…
3
votes
2 answers

UIProgressView progress doesn't updated

I have a UIProgressView added to self.view as subview. I have a UITableView with rows loaded. I need image in every row but I don't want the app to wait for all of them, so I decide to run NSThread with loading images process. When I try to update…
Artem Svystun
  • 179
  • 1
  • 14
3
votes
2 answers

UIProgressView value under 0.1 not showing correctly

I am not sure (as I couldn't find anything) if this is the way progress views, work but when I have a value under 0.1, let's say 0.05, the progress view always shows up to 0.1, then anything above 0.1 works fine. Is this normal?
puks1978
  • 3,667
  • 11
  • 44
  • 103
3
votes
2 answers

Swift Progress View with NSTimer

I have a Progress view bar that I would like to use to indicate time. This is my first project in Swift, and I am unsure how to go about this. So any help/ advise would be appreciated ... (Using Xcode 7.2 and Swift 2.0) Below Is my view controller.…
3
votes
3 answers

How to add label above UIProgressView in UIToolbar?

I have a UIToolbar in which I have placed a UIProgressView successfully. However, I have seen some apps contain a small label above the UIProgressView which tells the user what the program is doing where progress is being made -- e.g. to download a…
Jason
  • 14,517
  • 25
  • 92
  • 153
3
votes
1 answer

UIProgressView progress update very slow within AlamoFire (async) call

Inside an AlamoFire get request I'm trying to update my progress bar. Like so: alamofireManager.request(.GET, urlPath, parameters: params).responseJSON{(request,response,JSON,error) in ...... …
Boid
  • 1,161
  • 1
  • 11
  • 21
3
votes
3 answers

Same UIProgressView Over Multiple View Controllers

PREAMBLE I have an iOS application with a two page registration process. I have installed a UIProgressView on each page to measure the cumulative progress of users within said registration process. At present the registration process consists of…
arman
  • 502
  • 3
  • 15
3
votes
1 answer

Update iPhone UIProgressView during NSURLConnection download

I am using this code: NSURLConnection *oConnection=[[NSURLConnection alloc] initWithRequest:oRequest delegate:self]; to download a file, and I want to update a progress bar on a subview that I load. For that, I use this code: -…
3
votes
2 answers

UILabel over UIProgressView with multiple colors

So I haven't done this yet, I'm trying to play out how to do this. So I make a UITableView and each cell has an associated NSTimer. Now in each custom UITableViewCell I have a UIProgressView as the background, stretched to fill the cell. Now I want…
DemosJarco
  • 587
  • 4
  • 18
3
votes
2 answers

NSURLConnection didSendBodyData progress

I'm using a POST request to upload some data to a server, and I'm trying to update the UIProgressView's progress based on the totalBytesWritten property of the didSendBodyData method of NSURLConnection. Using the below code, I don't get a proper…
3
votes
1 answer

increase UIProgressView height when using it as titleView in navigation bar

I'm using a progress view (UIProgressView) as the titleView in a navigation item, so that it appears in my navigation bar. No matter what I do, it appears very narrow in iOS 7.1: I hate this version of the progress view. How can make it fatter /…
matt
  • 515,959
  • 87
  • 875
  • 1,141
3
votes
8 answers

how to make a progress view like the one in KAYAK app

I wonder how to make a progress view that looks like the one in KAYAK app (it's a travel app to search for flights and hotels), screenshot: i dig into the resources of KAYAK app on a jailbroken iPhone and found the following 3 images that construct…
JAHelia
  • 6,934
  • 17
  • 74
  • 134