Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

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

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

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
50 views

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
987 views

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

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
894 views

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
174 views

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
198 views

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
146 views

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
257 views

@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
266 views

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
146 views

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
381 views

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
52 views

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

The function takes a couple of seconds to complete, and about half of the time when I press the button, the activity indicator appears on the screen until the function is finished, like it is supposed ...
Cooper Mills's user avatar
0 votes
2 answers
207 views

I try to trigger activity indicator's animation when press navigationItem's button. But I found the activity indicator is not spinning. And I try to put scanerIndicator.startAnimating() to main thread,...
Zhou Haibo's user avatar
  • 2,168
1 vote
0 answers
86 views

Hi I am attempting to add a UIActivity Indicator on top of a AVcapture session and preview layer. The AVcapture session can stop or keep going I don't care which but I need to show the animating ...
jstocke2's user avatar
0 votes
0 answers
159 views

I have UIActivityIndicatorView that i want to start animate in viewdidload before i grab data from API and load into the table view . I then want to stop animating after loading . The problem is , it ...
Kim Derek Chihoon's user avatar
0 votes
0 answers
123 views

I have the following code and I can't work out why my Activity Indicator is not showing. I am not sure why it won't show. I basically have the start and stop animating functions wrapped around code ...
user avatar
0 votes
0 answers
156 views

I have created an activity indicator view on Main.storyboard in XCode to inform the user to wait while the asynchronous image download from Firebase Storage is happening. This activity indicator ...
Vedant Khanna's user avatar
0 votes
1 answer
396 views

I have a UIActivityIndicatorView so when I try to search in search bar, It will loading first before the data come in. I make the spinner in UIViewController extension for animating and remove the ...
ferryawijayanto's user avatar
0 votes
0 answers
134 views

I'd like to show a battery indicator of a Bluetooth peripheral in my iOS app. Is there a version of NSLevelIndicator (macOS) but that I could use in iOS? The closest alternative I found is reversing ...
axelmukwena's user avatar
  • 1,159
0 votes
1 answer
190 views

I have set up the activity indicator while loading to next view. The original view contains a tableView of buttons and it will direct to the next view when the button is clicked. However, it doesn't ...
markandshare's user avatar
0 votes
1 answer
826 views

I am paginating data from Firestore and I am able to get that to work. Here is the paginating query: if restaurantArray.isEmpty { query = db.collection("Restaurant_Data").limit(to: ...
BVB09's user avatar
  • 895
0 votes
0 answers
39 views

UIActivityIndicator view on navigation left bar button item doesn't show for iOS 13.0 device: Here is the code: let activityIndicator = UIActivityIndicatorView(frame: CGRect(x: 0, y: 0, width: 20, ...
sahiljain's user avatar
  • 2,374
0 votes
1 answer
2k views

I have checked other questions/answers, yet not one of them is working for me. I have many view controllers that load the data from the database during segue preparation. Therefore, I have put the ...
Visitor's user avatar
  • 45
-1 votes
1 answer
184 views

This is function for showing activity indicator func showActivityIndicator() { let container: UIView = UIView() container.frame = CGRect(x: 0, y: 0, width: 80, height: 80) container....
faris97's user avatar
  • 402
0 votes
1 answer
129 views

My UIActivityIndicatorView is not showing when I call it before the API request, and will show after the request has been done, This is my function that run inside the TouchUpInside of my button ...
Dylan's user avatar
  • 1,378
0 votes
1 answer
283 views

I'm new in making views programmatically. I'm trying to make UIActivityIndicatorView class to make it reusable for me. This is the class I made: class ActivityIndicator: UIActivityIndicatorView { ...
Ahmed Abd Elaziz's user avatar
3 votes
2 answers
5k views

I have a basic list that displays a webview. I want to add an activity indicator that shows while the webpage is loading. this is the code that I've created. import SwiftUI import WebKit struct ...
Miguel Gomez's user avatar
0 votes
1 answer
426 views

I'm trying to use alamofire and AlamofireNetworkActivityIndicator, but at pod install(both latest versions) i get this: Analyzing dependencies [!] CocoaPods could not find compatible versions for pod ...
Radu's user avatar
  • 13
0 votes
1 answer
1k views

I used NVActivityIndicatorView to create a loading page and turn over the tab screen for 5 seconds. ActivityIndicatorView is short-lived and disappears quickly. Using a timer, I made an event happen ...
Sunmi's user avatar
  • 41
8 votes
2 answers
10k views

How can I add an activity indicator in WKWebView which will display the indicator while the webpage is loading and disappears when loaded ? I've looked at some of the old posts but could not figure ...
Ashley Vaz's user avatar
0 votes
1 answer
111 views

I'm trying to create an UIButton that will shrink down to an Activity Indicator when tapped on. The UIButton I'm referring to is named Request Ride. I have most of the code already set, but for some ...
ZWDesigns's user avatar
1 vote
4 answers
2k views

I am making a loading icon in my extension.swift file. I believe we do not need to use any third party library just for loading icons. However I cant store any values in the extension file. If I didnt ...
L.William's user avatar
  • 442
6 votes
3 answers
9k views

I'm making an API call in my ViewController willAppear method and till the API response completes I'm using this showWait and hideWait method to show and dismiss the activity indicator. But the ...
Francis F's user avatar
  • 3,325
0 votes
0 answers
81 views

I'm trying to center a UIActivityIndicatorView in a UIButton programmatically using constraints but it's not working.. Note: It's centered if you rotate the device! The code i'm using is func ...
Ahmed M. Hassan's user avatar
0 votes
2 answers
1k views

i want to implement a singleton spinner, because any app that has a api needs a spinner. well I can code a spinner custom, but my problem is that I should code the next line ever if I want to show it. ...
Andres Gomez's user avatar
0 votes
1 answer
74 views

I have a UITableviewcontroller and a activity indicator added to it. When ever my table scroll, the indicator also moves up and goes out of bounds. Instead I want to display indicator even if the ...
ash4's user avatar
  • 121
0 votes
2 answers
524 views

This problem has been answered several times before on this site, I have tried them all and none work. The difference I think is that I have a UITableView inside my UIViewController. I have tried when ...
David Rogers's user avatar
1 vote
2 answers
581 views

I am actually using activity indicator in LaunchScreen But cannot animate through storyboard using Attributes inspector.
Sourabh Kumbhar's user avatar
0 votes
1 answer
2k views

I have a table, I want to make it so that when I click on a cell, the activity indicator spins around it, and not somewhere in an incomprehensible place It looks like this. In the code, I have the ...
user730720's user avatar
0 votes
2 answers
265 views

I have an UIImageView extension with a method to download an set image, the extension also contains an UIActivityIndicatorView which i set as a view before the image is loaded once the image is loaded ...
BigFire's user avatar
  • 347
0 votes
2 answers
91 views

I basically want my own animator shown on screen while loading stuff. I want a propeller (which should rotate) on top of a fixed gear ring image. The idea is to instantiate an object with a specific ...
MichiZH's user avatar
  • 5,847
0 votes
1 answer
408 views

I want to run UIActivityIndicator when the application is opened. How can I do this? My code is the way I share it down there. I want this code to work when Launchscreen opens. @objc func ...
stakabekor's user avatar
1 vote
2 answers
311 views

My issue is that you cannot see the UIActivityIndicatorView because the app runs smoothly so I am not sure if the code is right. Here is everything that mentions it: @IBOutlet weak var ...
wiggleforlife's user avatar
1 vote
0 answers
80 views

I have functions to show and hide activity indicator. I want show activity indicator when i delete row from tableview. But when i call delete action, function showActivityIndicator() that should start ...
sauliuskaunas_971's user avatar
1 vote
0 answers
178 views

I want to display an activityIndicator when the user presses the iTunes buy button to finally purchase a subscription. There is a bit of time processing the purchase and soon as it's done I want to ...
mandem112's user avatar
  • 191
0 votes
1 answer
316 views

I am using this library https://github.com/PiXeL16/RevealingSplashView to add something like splash screen. I am using RevealingSplashView when fetching data from Internet,. but unfortunately if the ...
Agung's user avatar
  • 14k

1
2 3 4 5
20