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

Updating Button as Progress Bar progresses

I am trying to to update a button labeled "Order Safety Escort" to change its wording while the progress bar loads. The progress bar is already connected to the button and works fine. However, the wording doesn't update. class SEController:…
Jordan
  • 37
  • 4
1
vote
1 answer

Adding a Progress View to a Search Bar

I would like to add a progress view within my search bar, to show how much content from the search has loaded. Here is my progress view so far in my Storyboard: However, with different languages, the "cancel" button changes width, as seen…
George
  • 25,988
  • 10
  • 79
  • 133
1
vote
1 answer

UIProgressView Crash in swift the message is Thread 6: Fatal error: Unexpectedly found nil while unwrapping an Optional value

I have some issues with UIProgressView, I dont know why It crashes. In my view controller I have outlet like: @IBOutlet weak var progressBar: UIProgressView! and I double checked it connected correctly. In my viewDidLoad I reset the value like: …
Steven
  • 762
  • 1
  • 10
  • 27
1
vote
3 answers

Custom UIProgressView

I'm using a UIProgressView in my application, which is working great right now. But I want to make it larger (height-wise) and color it a different color. I'm looking to use PDColoredProgressView for the color, and alter the…
DVG
  • 17,392
  • 7
  • 61
  • 88
1
vote
1 answer

Cell UIProgressView not update after UITableView scrolls

Making a download page in APP, and there are over 10 UIProgressView in the UITableView. The progress bars work fine, but once they are scrolled outside the screen and scrolled back, they update once, then they refuse to update more though they are…
jdleung
  • 1,088
  • 2
  • 10
  • 26
1
vote
1 answer

Swift: make custom progress view follow user tap? UIBezier

Ok I have a custom UIProgressView in shape of a circle implemented here: class PlaybackLineView: UIView { var percentage: Float = 0.0 { didSet { if percentage > 1 { //print("happned!") …
blue
  • 7,175
  • 16
  • 81
  • 179
1
vote
1 answer

Why can't I use UIProgressViewStyle.bar in tvOS?

I'm writing a tvOS app using Xcode 9.2, targeting tvOS 11. I have a UIProgressView and I'm trying to set it's style to .bar but Xcode says ".bar is not available". How can I use the .bar style for the UIProgressView on my tvOS app?
Matt Mc
  • 8,882
  • 6
  • 53
  • 89
1
vote
1 answer

Progress view in Local Notification

Is there any way to add progress view in local notification body ? I want to show a progress view for an upload, in notification.
Sudha
  • 85
  • 11
1
vote
3 answers

How to get remote file size to increment progress bar?

i need to download large pdf from web and i created a progress bar controller. But, how i set max progress value it i don't know the pdf size before downloading? Is there a way to get file size and use it to increment progress bar? I'm using…
elp
  • 8,021
  • 7
  • 61
  • 120
1
vote
1 answer

Unable to set progress bar progress twice in iOS?

I have UIProgressView.On begin to text edit for a UITextField I set the value of progress bar to 1 . Before that initially I make it progress to 0.1 .But it is setting progress only once. If I first set progress to 0.1 then after it does not set…
TechChain
  • 8,404
  • 29
  • 103
  • 228
1
vote
1 answer

How to make a Progress View in a TableView?

I'm trying to make a Progress View on a TableView. I succeeeded to create progressview, but if animation is true bar disappears, and if is false bar is full... i can't understand why. This is my code: here is my appending method: if formazione ==…
1
vote
1 answer

Why alamofire downloads progress in alert will flashing and the behind screen starts to be fade to black?

I have progress view in alert when downloading with alamofire, but the problem is that when I want to download the progress view in alert will start to be complete but flashing and the other problem is that the behind screen will start to be fade to…
Saeed Rahmatolahi
  • 1,317
  • 2
  • 27
  • 60
1
vote
1 answer

Unwanted height constraint animates when setting UIProgressView progress

So I have a UIProgressview in storyboard and I set the height constraint via storyboard and it's the height I expect and everything with that is sunshine and rainbows. My problem comes into play when I'm setting the progress of it, I call…
Andrew Edwards
  • 1,005
  • 1
  • 9
  • 24
1
vote
1 answer

NSTimer Triggering UIProgressView Failure

I'm using a NSTimer in a NSObject class (Timer), that fires a method, that increments a variable and fires a method in a View Controller (InfoViewController). (Confused ;-D ) Everything shows up on the screen and and the timer is started correctly.…
Baza207
  • 2,123
  • 1
  • 22
  • 40
1
vote
1 answer

Calling progressTintColor does not update UIProgressview progress between 0.01 and 0.05

I am trying to update progress bar based on the server data. So, if value received (in %) is less than 90 then the progress bar should be green else it should be red in colour. if (value >= 90) { progressBar.progressTintColor =…
Leena
  • 11
  • 3