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
2
votes
1 answer

Issue with UIProgressView not running smoothly once height is increased and corners are rounded

I'm experiencing an issue with a UIProgressView (using Xcode 11.5 and current Swift version). My aim is to create a progress bar with an increased height (vs. the Apple standard height) and rounded corners, which represents the progress of a played…
2
votes
0 answers

UIprogressView (progerssView) animation is not restarting

I am playing around to learn and implemented a progressView that is triggered using a function and reset using another one when buttons are clicked (and feed it with value). For some reason, after the first click, it works fine even though the…
Meir
  • 21
  • 5
2
votes
1 answer

How do I create a music progress indicator/control, like the iPod app?

I'm writing an iPod app replacement, and in my "now playing" view I want to have a progress indicator like the iPod app, that shows current position, and allows the user to drag to change the play position. How do I do that? Do I use a UISlider and…
Ben Thomas
  • 1,416
  • 2
  • 17
  • 25
2
votes
2 answers

Adding a UIProgressView to UISearchBar like in Safari

When you press refresh, Safari's search bar displays a progress view. My requirements are: the progress view should have rounded corners matching the search bar's corners the progress view width should adjust itself if a cancel button is…
Kugutsumen
  • 878
  • 8
  • 18
2
votes
2 answers

Custom UIProgressView style

I am trying to customize my UIProgressView. I would like it to look like the third one down on the image: Please can you tell me how I could acheive this.
max_
  • 24,076
  • 39
  • 122
  • 211
2
votes
3 answers

iphone UIProgressBar

I am having two values targetValue and receivedValue . Now I want to show the status on Progress bar. Means if targetValue is 1000 and receivedValue is 500 then progress bar should display 50% of filled area. So I want to know that is there any easy…
Maulik
  • 19,348
  • 14
  • 82
  • 137
2
votes
2 answers

UIProgressView setProgress issue

I've encountered an issue using a UIProgressView where low values (1% - about 10%) look off. You can see with the example above that 97% looks accurate while 2% does not. Here's the code for setting colors: self.progressView.trackTintColor =…
Luke Irvin
  • 1,179
  • 1
  • 20
  • 39
2
votes
1 answer

Swift: Change the Label text while progress view is complete 1.0

I have a progressView with the label. when the page is loaded progress bar is started wit the value 0.0 and upto 1.0. This is my progressView code. Function @objc func updateProgress() { progressValue = progressValue + 0.01 …
Krunal Nagvadia
  • 1,083
  • 2
  • 12
  • 33
2
votes
1 answer

UIProgressView+Activity Indicator View on a UITableView during data upload

I have a uitableview. I saw this "effect" and I would replay it: When the user taps on a button to upload some data on a server, I would a gray (transparent) view with a progress bar (maybe with also an activity indicator) appears on the table. The…
Sefran2
  • 3,578
  • 13
  • 71
  • 106
2
votes
2 answers

How to create Vertical Progress Bar - IOS - Swift

I am trying to create a vertical progress bar. But the problem is my code is working on IOS11 or Above but on IOS9 it's not working. On IOS11 Or Above it looks like: enter image description here But on IOS9 it looks like: enter image description…
Faisal Shahzad
  • 87
  • 1
  • 12
2
votes
2 answers

Set max value on UIProgressView (swift 4)

My code below has no limits and eventually goes to the end of the progress view without stopping. I would like the progress view to go to the end of the bar within 10 seconds in 1 second intervals. import UIKit class ViewController:…
user8105388
2
votes
1 answer

How to update a progress view that is on another UIViewController - SWIFT?

I have a UITableViewController that is embedded in a UINavigationController. When I click on a row I am attempting to upload a file. To show the progress of this upload I have decided to use custom popup (another UIViewController) - if anyone has…
johnDoe
  • 709
  • 11
  • 29
2
votes
1 answer

Using ASIHTTPRequest with a UIProgressView in a UIAlertView

I've managed to addSubview: a UIProgressView in/onto a UIAlertView, as well as set everything for ASIHTTPRequest, but where-ever I put the [request startSynchronous];, it crashes the app. [request startAsynchronous]; doesn't help…
2
votes
1 answer

Change Height of UIProgressbar and give border and corner radius

Currently, I am working with UIProgressView where I need to change the height of the UIProgressView. I achieve through below code. extension UIProgressView { @IBInspectable var barHeight : CGFloat { get { return transform.d * 2.0 } …
Kushal Maniyar
  • 846
  • 1
  • 8
  • 26
2
votes
2 answers

Set Corner Radius after setting Transform nor working IOS

I have UIProgressView and I want to set its corner radius and transform but the corner radius not working as it should be. My code in Xamarin.ios: UIProgressView progressView = new UIProgressView(newFrame) { …
Hadi Al Tinawi
  • 429
  • 7
  • 22