Post

Replies

Boosts

Views

Activity

WKwebview loadFileURL: allowingReadAccessToURL: not working IOS 15 beta 2 and beta 3
I have been trying to load assets and HTML file from a folder path on iPhone on WKWebView using [self.webView loadFileURL:URL allowingReadAccessToURL:folderURL]; The html file is loading but assets are not being loaded. This is working fine on 14.6 and below. I have encountered this issue mainly on IOS 15 beta versions 2 and 3. Can I get any help on this??
0
0
926
Jul ’21
SKStoreProductViewController - loadProductWithParameters: Issue with completion Block.
When i load my product View most of the times its loading the storeKit without any issue. But some times the completion block is not even getting executed for loadProductWithParameters api call. if once this issue starts it persists until i restart the device. Issue happens randomly and only way to resolve this is by restarting the device. Even if i remove and install the app its having the issue. Below is my code snippet. Please do suggest any way i can resolve this. dispatch_async(dispatch_get_main_queue(), ^{   SKStoreProductViewController *currentProductView = [SKStoreProductViewController new];   currentProductView.delegate = Self;   [currentProductView loadProductWithParameters:strongSelf.appStoreParams completionBlock:^(BOOL result, NSError *_Nullable error) {     if (result && !error) {       NSLog(@"Successfully load Storekit product view:%@", error.description);     } else {       NSLog(@"Failed to load Storekit product view:%@", error.description);     }   }]; });
2
0
630
Jun ’21