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

Update UIProgressView from network

I use Xcode 10 and Swift 4.2 in viewDidload () of a UIViewController, I declare an observer: override func viewDidLoad() { super.viewDidLoad() NotificationCenter.default.addObserver(self, selector:…
La Ciste
  • 11
  • 3
0
votes
1 answer

Passing Progress Bar Information to the View Controller

I have a class which handled the downloads and provides progress information. -(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { [recievedData appendData:data]; self.recievedlength = self.recievedlength + [data…
Kunal Deo
  • 2,248
  • 2
  • 18
  • 27
0
votes
1 answer

Progress view perform task when progress view reaches max value

I am trying to print something to the consol when my progress view reaches its max value. I have a long press gesture recogniser on the progress view where the user holds the view down for 5 seconds and that increases the progress views value. I…
Rob
  • 73
  • 7
0
votes
1 answer

my progressView is not refreshing

When my app starts for the first time, I have a background process which runs off of a thread and the user should see a progressView which should show the progress being made. The code below shows how I am setting up my thread and…
user616076
  • 3,907
  • 8
  • 38
  • 64
0
votes
2 answers

Using a progressView and refreshing the screen

When my app loads for the first time it updates a SQLite table which takes about a minute. To keep the user informed I planned to use a progressView to show the data loading but while the process is running the screen just stays black until the…
user616076
  • 3,907
  • 8
  • 38
  • 64
0
votes
2 answers

UIProgressView animation works correctly only once

I doing some HTTP request, setting a class property when the HTTP response is received and updating a progress bar value with willSet. The progress bar animation works only once. var data: CompatibilityData? { didSet { …
Nime Zoste
  • 37
  • 2
  • 4
0
votes
2 answers

Start animating a UIProgressView with a tag?

downPreView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault]; downPreView.tag = indexPath; downPreView.frame = CGRectMake(75,28, 215,60); downPreView.progress = 0.0; [cell.contentView addSubview:downPreView]; Now how…
iosfreak
  • 5,228
  • 11
  • 59
  • 102
0
votes
0 answers

Add labels at the end of UIProgressView bars

I am able to get a view with horizontal bar chart with per with the help of UIProgressBar in a UITableView, Current Output //TEST DATA: arrShareNames = ["Infosys","TCS","Reliance","Wipro"] arrSharepercent = [30,40,21,10] if let progressView =…
0
votes
0 answers

UIProgressView position within a subview in UIAlertController changed on different devices

I have a iPhone and iPad both with iOS 12.1 installed, when compiling my swift code via Xcode 10.1 and testing my app, I've noticed that when I start to upload, my sub-view is in the right position on an iPad, however when I us my iPhone, to test…
Jonas
  • 474
  • 3
  • 17
0
votes
0 answers

Getting progress view to update

I have been trying to get my progress view to update, but most of the questions have been about using progress view as a timer. Instead, I am running a for loop a couple thousand times and it takes a little why. I want the use to know how far along…
0
votes
1 answer

Progress Bar goes beyond the frame

I create progress bar in my app using this code: let progressBar = UIProgressView(progressViewStyle: .default) progressBar.setProgress(1.0, animated: true) self.addSubview(progressBar) progressBar.trackTintColor = UIColor(red: 1.0, green: 1.0,…
Egor Iskrenkov
  • 433
  • 4
  • 15
0
votes
1 answer

UITableView Cell overlaid with UIProgressView and updates as audio plays

I'm looking for a post/link/guide that'll programmatically help me add a UIProgressView over UITableViewCell. Currently, each cell I hold down plays audio streamed from Firebase and when I let go, the audio stops. I would like to add a ProgressView…
Joe Vargas
  • 65
  • 7
0
votes
1 answer

Move progressView to bottom of screen?

I added a progress bar to my screen and have currently placed it at the center of my screen. Instead, I want it to be centered horizontally in my container, but at the bottom of the screen. (If I was writing with CGPoint, I would make it say y:…
edh
  • 7
  • 6
0
votes
2 answers

Changing position of UIProgressView?

I added a progress bar to my screen. I want it to be centered horizontally in my container, but I want to move it to the bottom of my screen. How do I edit the third line to change its position? func addControls() { progressView =…
edh
  • 7
  • 6
0
votes
0 answers

Objective c ProgressView not updating properly

I'm working on a table view in which the user can download video files. Everything works just fine except the progressView when I download the file. However at the end I still get my file ready to be played. I'm not very familiar with request in…
DeimosPhx
  • 89
  • 8