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

Change height of UIProgressView (Bar style) in Swift

I created a UIProgressView (bar style) in Swift 2.2 and would now like to alter its height. Some other posts suggested to use CGAffineTransformScale to change the height. However, for some reason this approach doesn't seem to work, as it does not…
Pisan
  • 69
  • 2
  • 10
0
votes
1 answer

How to set UISlider's value not to extend over UIProgressBar's progress

I have a UISlider and UIProgressView embedded together and I want to get the position of the progress tint of progress view and stop slider to slide before the progress tint. How to get the position of UIProgressView and clip the UISlider to the…
Aashish
  • 2,532
  • 2
  • 23
  • 28
0
votes
1 answer

UIslider and UI progress view embedded

I'm trying to build a slider embedded in a progress bar, so that slider's minimum image settles with the progress bar 'progress image' and the user can slide only inside the 'progress track image'. Something like image below: As in the image,…
Aashish
  • 2,532
  • 2
  • 23
  • 28
0
votes
2 answers

iOS - UIView animateWithDuration not working properly

I'm trying to do some animation to my UIProgressView when i finished upload a photo to my server. When i set the duration to 5.0 or 10.0 seconds, it it not different and the completition is called immediately. [UIView animateWithDuration:5.0…
calvin sugianto
  • 610
  • 7
  • 27
0
votes
1 answer

iOS: Progress bar in a different view controller

I have 2 view controllers. In the parent view, i have a progress view. In the child VC, I am uploading an image with parameters using POST request to the server and then dismissing that VC and hence on returning to parent VC, I want progress View to…
Karanveer Singh
  • 961
  • 12
  • 27
0
votes
1 answer

Progress View Missing when scroll to left/right swift

i have collection view in horizontal position. user can download file, it display progress view, after download complete the progress view is fully filled with blue color but if I scroll the collection view until the file that already downloaded not…
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
0
votes
1 answer

Progress View Linked with Background Download Alamofire.download Swift

i have an collection view. and inside cell contains image view, label, and progress view like this i want to make if cell tapped, it starts download pdf file and the progress view start animating and if the pdf file already downloaded, it display…
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
0
votes
1 answer

UIProgressView not working as expected with NSTimer - Swift

I am using an NSTimer to let the user know the app is working. The progress bar is set up to last 3 seconds, but when running, it displays in a 'ticking' motion and it is not smooth like it should be. Is there anyway I can make it more smooth - I'm…
Moin Shirazi
  • 4,372
  • 2
  • 26
  • 38
0
votes
1 answer

UIProgressView only Update Values Instead of UI

I am doing a analysis process on image. As I run through all pixels, I want to have a feedback about the progress. Here is my code: for _ in 0 ..< height { for _ in 0 ..< width { analyzeImage(currentPixel) …
0
votes
1 answer

Smooth and Accelerating ProgressView

I am playing with ProgressView. What I want to achieve is stopping at 33%, 66%, 100% checkpoints on button click. It's working okay if I use progressView.progress = 0.33, but it directly lands to the checkpoint. Instead, having it smooth and…
senty
  • 12,385
  • 28
  • 130
  • 260
0
votes
2 answers

Configure UIProgressView in TableViewCell equal to the UIProgressView in the Controller

I have a TableViewCell that contain a UIProgressView, and I set the progress value into UIProgressView in Controller and then equal them(i.e. self.progressBar=cell.progressBar), but in iOS8&9, in the UI the progress bar stuck in 0, but in iOS7 its…
Winston
  • 49
  • 8
0
votes
1 answer

UIProgressView paused progressing when user is scrolling UITableView in iOS

In UIView I have taken one UIProgressView to show the Progress of the data downloaded from the server and to show those data I have taken an UITableView. The web service is via Polling, so which data is loading, I am loading it into an UITableView.…
Manab Kumar Mal
  • 20,788
  • 5
  • 31
  • 43
0
votes
1 answer

Can't perform action in background and update progressView in mainThread

I've this method : func stepThree() { operation = "prDatas" let entries = self.data.componentsSeparatedByString("|***|") total = entries.count for entry in entries { ++current …
Khorwin
  • 445
  • 1
  • 9
  • 27
0
votes
1 answer

How do I show the progress of the stream without a uislider?

I don't want to use a uislider, instead I want to use a progress view to show the progress of the song completed, just like spotify on the bottom. @IBOutlet weak var progressbar: UIProgressView! func playSong(){ self.player = AVPlayer(URL:…
user6032625
  • 197
  • 1
  • 2
  • 14
0
votes
1 answer

Setting data in background thread and getting bad_access error

My goal is to initialize a large amount of data on a different (non-main) thread, and then refresh a UIProgressView on the main thread corresponding to the large data load's progress. To do this, I use performSelectorInBackground to load the data,…
daspianist
  • 5,336
  • 8
  • 50
  • 94