Skip to main content
0 votes
1 answer
81 views

Why does UIActivityIndicatorView only animate the first time it is visible?

I change the navigation bar title depending on the network status, when there is no connection I display as UIActivityIndicatorView, along side "Waiting for network". This works perfectly ...
Edward Tattsyrup's user avatar
2 votes
2 answers
2k views

How to disable user interaction for view in SwiftUI?

I am trying to show Activity indicator view on API call in my swiftUI application. I have created the Activity Indicator view and it's working fine but I want to disable the user interaction while it ...
user avatar
4 votes
3 answers
5k views

Alert + ProgressView (Activity Indicator) in SwiftUI

Is there any way to add Activity View (Indicator) into SwiftUI Alert somewhere? I'm just curious because I haven't found any appropriate answer on such question. I need something like this: I'm using ...
Oleksandr Yevdokymov's user avatar
0 votes
0 answers
47 views

Protocol reusable Spinner one liner progressview

This is my code at the moment I instead of using progressView as self.progressView = showProgressView() I want to use it as self.showProgress() as a one liner this is my current protocol protocol ...
Zeus Solomon Quijalvo Olivar's user avatar
0 votes
2 answers
985 views

How can I add an ActivtyIndicator to this WebView that shows when a website is loading?

How can add an ActivityIndicator (spinning wheel) to this WebView when it's loading a website? Here's the code for the WebView: import Foundation import SwiftUI import WebKit struct WebView : ...
ThatConfusedDev's user avatar
0 votes
2 answers
1k views

How do I center a UIActivityIndicatorView programmatically in Swift?

I want to place my activity indicator in the centre of my table view controller programmatically but when I run my code it always appears in the top left hand corner. Here is my swift code; let ...
Stephen501's user avatar
1 vote
1 answer
892 views

Activity indicator not showing in pagination for tableview in Swift

I am using pagination for tableview, for that I have created spinner for tableview footer and calling that in scrollViewDidEndDragging but the spinner is not showing.. while pagination code: with this ...
User123's user avatar
  • 41
0 votes
0 answers
173 views

How to make my own Loading Screen Indicator in flutter?

So far, I have made a loading animation that includes Container, Column, Text, and Image(gif). And this code is working fine in a new project but when I try to implement this code into my ongoing ...
Piyush's user avatar
  • 19
0 votes
1 answer
195 views

Activity Indicator Showing on Tab 1 as well as Tab 2 ( I only want it to be displayed on tab 2 - when tab 2 is loading)

In this code below I am creating 2 tabs using state to keep track of which tab is visible. currentTab === 1 & currentTab === 2 I am using the ternary operator for both. For the second Tab I ...
Frank Boccia's user avatar
3 votes
1 answer
143 views

Not able to hide ARSLineProgress in iOS 15

I am new in swift and I am not able to hide ARSLineProgress in iOS 15. Its was working fine below iOS 15. My code is like this ARSLineProgress.hide() The hide() function contain public static func ...
Mujtaba's user avatar
  • 43
0 votes
1 answer
250 views

How Do I Fix My Activity Indicator From Not Appearing/Freezing?

@IBOutlet weak var Input: UITextField! @IBOutlet weak var Heads: UILabel! @IBOutlet weak var working: UIActivityIndicatorView! @IBAction func Toss(_ sender: Any) { DispatchQueue.global()....
Aneesh Poddutur's user avatar
1 vote
1 answer
264 views

trigger an api again once network goes off in RxSwift

Here is my code below. I need to call api multiple times until internet signal is on. buttonAction.do(onNext: { [weak self] in self?.activity....
RakeshDipuna's user avatar
  • 1,610
0 votes
1 answer
144 views

Cannot display UIActivityIndicatorView

I meet a question. I am using following code to display UIActivityIndicatorView. My requirement is to be able to create an UIActivityIndicatorView and display it when I click the button with tag 1, if ...
Bill's user avatar
  • 1
0 votes
2 answers
376 views

Swift - How to show a UIActivityIndicatorView at the same location without shifting to the right?

I am trying to show a UIActivityIndicatorView at the same location of the UIBarButtonItem it replaces. It shifts to the right while animating. How can I center it without changing the style? Here is ...
Boting Wang's user avatar
0 votes
1 answer
46 views

UIActivityIndicatorView is not spinning in the share app extension

I have an UIActivityIndicatorView in the tableview cell. To display the uploading status. It works great on my app. But it never spinning in the share app extension. class MyCell: UITableViewCell { @...
xxi's user avatar
  • 1,510

15 30 50 per page
1
2 3 4 5
66