You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this when trying to use inside an extension 'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
I comment out everything in that function and it compiles fine
func tick() {
// let previousValue = UIApplication.shared.isNetworkActivityIndicatorVisible
// let newValue = (runningRequests > 0)
// if newValue != previousValue {
// UIApplication.shared.isNetworkActivityIndicatorVisible = newValue
// }
}
The text was updated successfully, but these errors were encountered:
Getting this when trying to use inside an extension
'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
I comment out everything in that function and it compiles fine
The text was updated successfully, but these errors were encountered: