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
1
vote
1 answer

ProgressView block on scroll table

I have an issue. I have a UITableView and a View with a UIProgressView and when i scroll the table, the progressview not refresh the progress value... Only when the scroll is finish, the progress refresh.. I have no clue why is this happening. I…
alfreedom
  • 447
  • 5
  • 15
1
vote
2 answers

Customize ProgressView

I'm trying to make a control that seems a customization of the progress view. This is what I should want to make. It is a progress bar that would work as a countdown timer. Start at 30 seconds, and the bar is green. As the time progress the bar is…
jayr parro
  • 286
  • 3
  • 18
1
vote
2 answers

UIProgressView won't update progress when updated from a dispatch

I'm trying to make a progress bar act as a timer and count down from 15 seconds, here's my code: private var timer: dispatch_source_t! private var timeRemaining: Double = 15 override public func viewDidAppear(animated: Bool) { …
Hobbyist
  • 15,888
  • 9
  • 46
  • 98
1
vote
2 answers

ProgressView not showing on View Controller using Swift

I am showing an alertController and if the user clicks Yes an ProgressView should be shown, but unfortunately the Progressview and the label does not appear. How can I refresh my ViewController. Here the cod that is executed for the yes-handler of…
Arnold Schmid
  • 163
  • 12
1
vote
2 answers

How to update UIProgressView below navigation controller properly?

My goal is progress bar below the navigation bar, which works absolutely fine as you can see on this screenshot: Here is the code which creates this: class NavigationController: UINavigationController { let progressView =…
Michael Dorner
  • 17,587
  • 13
  • 87
  • 117
1
vote
0 answers

Progressview for uploading data in ios

I am trying to upload data using POST method in ios application.I want to show progressbar indicator while uploading the data. I have progressbar in another view controller and NSURLConnection delegate methods in another class. I have tried as…
user3162102
  • 105
  • 1
  • 10
1
vote
1 answer

Swift class error WKWebView was deallocated while key value observers were still registered with it

I have a problem removing observer from my viewController named "myBrowser". I have a ProgressView bar, Here is the code where i add the observer: webView!.addObserver(self, forKeyPath: "estimatedProgress", options: .New, context: nil) in this…
Swift1
  • 349
  • 1
  • 4
  • 22
1
vote
1 answer

Knowing when a UIProgressView stops animating

UIProgressView has this setProgress:animated: API. Is there a way to know exactly when the animation stops? I mean something like this? [myProgress setProgress:0.8f animated:YES onCompletion...] I would like to start fading the progress out, as…
Duck
  • 34,902
  • 47
  • 248
  • 470
1
vote
0 answers

ASIHttpProgressDelegate didReceiveBytes callback getting queued

I am using ASIProgressDelegate in one of my view controllers to calculate remaining time for downloading a file. I am calculating average bandwidth by taking the exponential average for which I need to calculate the speed (bytes per second) between…
1
vote
2 answers

Objective-C : Keep a View Controller active when dismissed?

In my chatting application, I have a ChatViewController.m that allows users to message with the QuickBlox framework. When a user sends an image, a background upload begins and a UIProgressView displays the progress of the upload. But what if the…
Adam G
  • 1,188
  • 10
  • 24
1
vote
0 answers

Swift - UIProgressView becomes more opaque as time goes on

So I have a UIProgressView which animates for 3 seconds but it seems that the opacity of the bar at the start, is much lower than at the end. The bar seems to become more opaque as it loads. I have attached some screenshots to show what I mean but I…
dwinnbrown
  • 3,789
  • 9
  • 35
  • 60
1
vote
1 answer

Swift - Creating a progress bar

Hi I am using this code to try and animate a progress bar based on time. import UIKit class LoadingScreen: UIViewController { @IBOutlet var progressView: UIProgressView! override func viewDidLoad() { super.viewDidLoad() …
dwinnbrown
  • 3,789
  • 9
  • 35
  • 60
1
vote
1 answer

UIProgressView have different position at runtime

I place a UIProgressView on an XIB file. At first it goes well. After when I set its height via auto layout to be 20, problem occurred. The Progress View always got its position at the most top-left of the screen. even I use [self.progress…
BlueBookBi.
  • 39
  • 2
  • 9
1
vote
0 answers

How can I use UIProgressView to show the NSData write and read in ios?

As title, I want to know the progress of NSData write or read in the iOS device, use the UIProgressView to show it, use NSThread to write data and use NSTimer to check file size, but I have not been successful. How can I do it? -…
Tom
  • 31
  • 5
1
vote
2 answers

Hide UIProgressView when animation is completed

I am saving array of records in cloud kit with CKOperation as follows & displaying progress with progress view. let saveOperation = CKModifyRecordsOperation(recordsToSave: ckRecord, recordIDsToDelete: nil) …
Apoorv Mote
  • 523
  • 3
  • 25