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
2 answers

Add UIProgressView to a NSURLConnection?

Is it possible to add a UIProgressView to a NSURLConnection? Is it as simple as getting the length of the data and then setting it to an int then sending that int to my other class to my UIProgressView? Can someone show me how to do this? Are there…
SimplyKiwi
  • 12,376
  • 22
  • 105
  • 191
1
vote
5 answers

UIProgressView do not update in loop

I am loading a file and would like to show the progress in a UIProgressView. I can set the initial with: [loadingProgressView setProgress: 0.00]; ..in viewDidLoad this works perfectly. The only thing I want to do then is to add 0.1 to the bar each…
PeterK
  • 4,243
  • 4
  • 44
  • 74
1
vote
2 answers

NSURLConnection & UIProgressView

In my "didFinishLaunchingWithOptions" method, I have created a UIProgressView in my GUI & after that I call a method to call a WebService with a NSURLConnection to get an XML with a SOAP message. In the delegate method "connectionDidFinishLoading" I…
Lelka
  • 41
  • 6
1
vote
1 answer

Modify ProgressView with drag gestures in SwiftUI

Any idea how to modify (if is possible) a ProgressView with drag gestures. To begin with, I think the code will be something like this: ProgressView(value: progress) .gesture(DragGesture() .onChanged({ // code here …
LucasC
  • 43
  • 5
1
vote
2 answers

Progressview() in swiftui view not showing up first time through

The progressview() does not activate first time through my custom search view but works great on every subsequent search operation. I have a firebase database backend and am using async/await functionality. I'm trying to make the progressview appear…
phil
  • 993
  • 1
  • 10
  • 34
1
vote
1 answer

Unable to give min and max value to "UIProgressView" in Swift

I am using UIProgressView to show percentage so i have taken progressview in storyboard and given its class as UIProgressView here if i give any value to percentageView.progress = its totally filling.. it should fill only the given value, how to…
Swift
  • 1,074
  • 12
  • 46
1
vote
1 answer

UIAlert after progressView has reached a value

I am kind of lost here. I want to know how to implement an UIAlertView after my progressView has crossed a value of 0.8. To be more clearer I have a NSTimer running in a background thread which updates a float variable and when the control returns…
Neelesh
  • 3,673
  • 8
  • 47
  • 78
1
vote
1 answer

Is there a way to add Loading View before reload tableview data

I am trying to add Loading data option in viewDidLoad() function before [self.tableview reloaddata]. I am not sure how to add it and is there a way to make the user know that there is data getting loaded. I am parsing JSON file and the data gets…
lifemoveson
  • 1,661
  • 8
  • 28
  • 55
1
vote
1 answer

iphone UIProgressView disappears on update

Im updating a UIProgressView called “ammo”. When i update the progress the UIProgressView disappears from the UIView like its being hidden or moved behind another view. Code - (void)updateAmmo:(float) inputAmmo capacity:(float)inputCapacity{ …
woot586
  • 3,906
  • 10
  • 32
  • 40
1
vote
1 answer

How to remove the associated UIProgressview with the right request?

I use asihttprequest to download multiple files and I'm wondering how I can remove the associated UIProgressview with the right request when the download is done. NSMutableArray *contentArray contains the ASIHTTPRequest and NSMutableArray *progArray…
Alby
  • 273
  • 6
  • 14
1
vote
1 answer

UIProgressView is resetting in UITableViewCell

In my tableviewCell class, i set the progressview as (ignore the class name, using Food as simplicity) : func setupCell(list: Food) { documentTitle.text = list.nickname if let spoiltFood = list.spoilt, let totalFood = list.totalFood { …
L.William
  • 382
  • 1
  • 4
  • 20
1
vote
2 answers

How to create a multi colour progress view with different values for each colour

I've tried different ways and other resources on how to create a progress bar with 3 different colours and show progress according the values provided from the server but i can't find anything. How can i create a progress bar like this one below. I…
sk123
  • 580
  • 1
  • 8
  • 29
1
vote
2 answers

How to change UIProgressView tint colour as it approaches the end

So, I have a UIProgressView in a basic expense tracking app and I want to change its progress tint as it reaches the end from green to red progressively. I don't really know how to do this (I'm just starting out swift and Xcode). This is how it…
1
vote
1 answer

UIProgressView corner radius changing when updating progress

I have set the progressview's corner radius using layer.cornerRadius (0.2) and clipsToBounds (true). However, when I use an alert to update the progress, the corner radius changes. If I close and reopen the app, the corner radius is correct…
1
vote
0 answers

How to remove blur effect from UIProgressView / make progressView's background complete transparent?

Simple Requirement: A progress view with transparent background with no blur effect. 1st image: Expected progress view 2nd image: That's how it currently looks 3rd image: Visual effect applied by apple on UIProgressView Issue: UIVisualEffect is…
cgeek
  • 558
  • 5
  • 18