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

UIProgressView doesn't restart if the animation hasn't finished

I'm doing a workout app and I have a UIProgressView that gets filled with animation while the exercice is happening. At the end of it, it gets restarted to 0 and filled again with the next exercice of the workout. This works well except when the…
Joan Cardona
  • 3,463
  • 2
  • 25
  • 43
0
votes
2 answers

how to store the progress of progressView into arraylist as one element?

I want to store the progress of progressView into arraylist as one element I decleared the array like this var prog = [Float]() and i'm getting the progress like this func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask,…
Sam
  • 67
  • 1
  • 6
0
votes
1 answer

How to size UIProgressView's progress image to the size of the entire progress view track

I know that you can set a UIProgressView's progressImage property to some image that you want to represent the "progress", but it seems that the image is only sized to the width of the progress only, not the entire progress view width. In other…
Eric33187
  • 1,006
  • 7
  • 13
0
votes
1 answer

Observing progress while using URLSessionDataTask and URLSessionDownloadTask both for same remote url

I'm using URLSessionDataTask to show an image, and using URLSessionDownloadTask to download the image on my app. Also I needed to observe download progress, so I use KVO at Progress's fractionCompleted. The thing is fractionCompleted value just has…
InTaek Cho
  • 41
  • 5
0
votes
1 answer

Swift: Position and Resize custom circular progress view UIBezierPath

I am trying to make custom progress view. I've read this tutorial: https://medium.com/@imsree/custom-circular-progress-bar-in-ios-using-swift-4-b1a9f7c55da and watched this video: https://youtu.be/Qh1Sxict3io Both tutorials are very helpful and make…
Alex
  • 3
  • 1
0
votes
1 answer

ProgressView progress stuck at 1.0 or 0.0

I'm new to Swift and I'm in trouble with a progressView. I launch my ProgressView timeBar with self.timeBar.setProgress(10.0, animated: true) Then I try to get the value of timeBar during the 10 seconds (between 0.0 and 1.0)…
Lostania
  • 145
  • 8
0
votes
2 answers

Indicator progress not showing in below from ios 13 after adding scene delegate

When calling MKProgress indicator from iOS 13 it's not showing, the below version works fine < 13 ios version. DispatchQueue.main.async{ MKProgress.show() } This happenes after adding SceneDelegate to project.
kiran
  • 4,285
  • 7
  • 53
  • 98
0
votes
1 answer

ProgressView inside TableViewCell gets weird rounded corners on scroll

I have a custom Table View Cell that has a progress view in it. Everything looks fine at first (in this example the progress bar is full): But when I do some scrolling, the progress view distorts like this: It is definitely something to do with…
Psiloc
  • 257
  • 3
  • 9
0
votes
0 answers

update UIProgressView with keyValueObserver not working

I want to show the progress while zipping some files with ZIPFoundation. The zip method can take a Progress object and continuously updates the fractionCompleted value for that object. I can access the progress value with the…
Thoms
  • 201
  • 2
  • 13
0
votes
1 answer

SKPSMTPMessage and UIProgressView

I'm using this library (http://code.google.com/p/skpsmtpmessage/) to send email in my iPhone app how could I implement an UIProgressView during the sending? thanks for any help!
Gianluca
  • 2,379
  • 3
  • 25
  • 41
0
votes
2 answers

UIProgressView doesn't show progress (iOS)

I have an app which updates a BLE device using iOSDFULibrary. I have this function: func dfuProgressDidChange(for part: Int, outOf totalParts: Int, to progress: Int, currentSpeedBytesPerSecond: Double, avgSpeedBytesPerSecond: Double) { …
Lilya
  • 495
  • 6
  • 20
0
votes
2 answers

Update UIProgressView on UITableViewCell

At the moment I got my main tableview with cells, which are loaded from a XML and filled up. After that I can click on one cell and a detailview is loaded(xib file, loaded through code in the main tableview). On the detailview I can click a download…
NDY
  • 3,527
  • 4
  • 48
  • 63
0
votes
2 answers

Unexpectedly found nil in swift with UIProgressView

I've created a progressView and linked it like this: And here is what I do in my view controller: class ViewController: UIViewController, WKNavigationDelegate, WKUIDelegate { @IBOutlet weak var progressView: UIProgressView! @IBOutlet…
0
votes
1 answer

UPdate UIProgressView within for loop

I've already searched for the problem, and the only hint was the performSelectorOnMainThread solution. I did that, but the view is not updating while the for loop is running. After the loop the progress value is displayed correctly – but that's not…
cem
  • 3,311
  • 1
  • 18
  • 23
0
votes
2 answers

UIProgress View in Recording app

I am adding uiprogreesView in recording app.When I tap start recording button It will take few seconds to start recording and my progress view starts ,I also manged uilabels to get the recorded time.But my progess view is not synchronized with…
iProgrammer
  • 3,099
  • 3
  • 33
  • 59