English 中文(简体)
BraintreeDropIn deprecated functions error
原标题:

I m getting this error on the latest release of BraintreeDropIn, I really don t get it since based on the patch notes, this should ve been addressed already, I have already tried cleaning derived data, restarting, it is still the same. Have any else experienced this too?

/Pods/BraintreeDropIn/Sources/BraintreeDropIn/BTVaultManagementViewController.m:103:42 setNetworkActivityIndicatorVisible: is deprecated: first deprecated in iOS 13.0 - Provide a custom network activity UI in your app if desired.

    if (@available(iOS 13, *)) {
    // The network activity indicator no longer appears on status bars for iOS 13+
} else {
    [UIApplication.sharedApplication setNetworkActivityIndicatorVisible:YES];
}

[self.apiClient fetchPaymentMethodNonces:YES completion:^(NSArray<BTPaymentMethodNonce *> *paymentMethodNonces, NSError *error) {
    if (@available(iOS 13, *)) {
        // The network activity indicator no longer appears on status bars for iOS 13+
    } else {
        [UIApplication.sharedApplication setNetworkActivityIndicatorVisible:NO];
    }
问题回答

暂无回答




相关问题
SwiftUI: How do I position a button x points above a sheet?

I am trying to recreate a Maps-style UI with a persistent bottom sheet and controls fixed above. Apple Maps UI with controls above ☝️ Example here, the "Look Around" binoculars button and ...

BraintreeDropIn deprecated functions error

I m getting this error on the latest release of BraintreeDropIn, I really don t get it since based on the patch notes, this should ve been addressed already, I have already tried cleaning derived data,...

how to limit zoom level in map swift ui?

how to limit zoom level in map swift ui i have map and need to make zoom level limited Map(coordinateRegion: $region,annotationItems: viewModel.nearbyGyms) { item in ...

UIImageView - How to get the file name of the image assigned?

Is it possible to read the name of an UIImageView s UIImage that s presently stored in the UIImageView? I was hoping you could do something kind of like this, but haven t figured it out. NSString *...

热门标签