Display web content in windows and implement browser features using WebKit.

WebKit Documentation

Posts under WebKit tag

283 Posts
Sort by:
Post not yet marked as solved
0 Replies
66 Views
I have one web viewer in React Native for my app, and the function of translate with Google works perfectly in the Safari browser, in my Android App, and on the desktop, but not in the iOS app This is my Google Translate code: function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'pt', includedLanguages: 'pt,en,es', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL }, 'google_translate_element'); comboTranslate = document.querySelector("#google_translate_element .goog-te-combo"); } function changeEvent(el) { if (el.fireEvent) { el.fireEvent('onchange'); } else { // var evObj = document.createEvent("HTMLEvents"); var event = new Event('change'); comboTranslate.dispatchEvent(event); // evObj.initEvent("change", false, true); // el.dispatchEvent(evObj); } } function changeLang(lang) { if (comboTranslate) { comboTranslate.value = lang; changeEvent(comboTranslate); } } function clickChange(){ btn_translate = document.querySelectorAll('.language'); // o que faz os menus acender; btn_translate.forEach(btn => { btn.addEventListener('click', function (e) { var lang = e.srcElement.getAttribute('data-language'); changeLang(lang) }) }) } clickChange(); setTimeout(() => { googleTranslateElementInit() // comboTranslate.addEventListener('change', function (e) {alert('a');}) }, 500); and on the app.json I have: { "expo": { "name": "MyApp ", "slug": "MyApp", "version": "1.2.0", "orientation": "portrait", "icon": "./assets/icon.png", "locales": { "en": "./locales/ios/en.json", "pt": "./locales/ios/pt.json", "es": "./locales/ios/es.json" }, "platforms": [ "ios", "android" ], "splash": { "image": "./assets/splash.png", "resizeMode": "contain", "backgroundColor": "#ffffff" }, "plugins": [ [ "expo-notifications", { "icon": "./assets/icon.png", "color": "#ffffff" } ] ], "updates": { "fallbackToCacheTimeout": 0 }, "assetBundlePatterns": [ "**/*" ], "ios": { "buildNumber": "8", "supportsTablet": true, "bundleIdentifier": "com.myapp", "infoPlist": { "CFBundleAllowMixedLocalizations": true } }, "android": { "package": "com.myapp", "versionCode": 9, "googleServicesFile": "./google-services.json", "config": { "googleMaps": { "apiKey": "AIzaSyDQjE4F3chI8Jy4FA8h45LqA7bMfngoH7Y" } }, "permissions": ["ACCESS_COARSE_LOCATION", "ACCESS_FINE_LOCATION", "CAMERA", "RECORD_AUDIO"], "blockedPermissions": ["ACCESS_BACKGROUND_LOCATION"], "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#FFFFFF" } }, "notification": { "icon": "./assets/icon.png" } } } I put console.log and alerts to see if the change in the select element of languages is being triggered by the JS, and it's all ok, I really don't know why it is not translating.
Posted
by
Post not yet marked as solved
1 Replies
45 Views
Hi guys, I search the whole internet and didn't find any reliable solution on how to detect, that our site is opened in WKwebview. Any ideas? Thanks!
Posted
by
Post not yet marked as solved
2 Replies
74 Views
Hello! In iPhone 15.5, intermittently, some parts of one page, especially the top area, are covered with something that is not the screen I was working on. And if you scroll, that area disappears and you can see the html areas I coded in the past. how can i solve this?
Posted
by
Post not yet marked as solved
0 Replies
53 Views
Hi All! I've encountered an issue/feature that seems weird to me, and I'm unsure where to look for documentation. If I have audio playing from, say, apple music or Spotify. The output volume is briefly lowered when entering a website asking permission to use the microphone. For example, entering a google meet page. I first found this while developing a web app using the Chime SDK and a WebKit Webview, but like mentioned above. It can be reproduced with google meet as well. This leads me to believe it's either connected to asking for microphone permissions or to something in the WebRTC connection. The volume is lowered for internal speakers and an external soundcard. However, if audio is playing from another tab in safari, the audio is not affected. Also, doing the same thing in chrome does not lower the volume. Anyone knows the reason for this. Is it a feature or a bug? Best, Ruben
Posted
by
Post not yet marked as solved
3 Replies
102 Views
I'm trying to integrate WKWebView to metal rendering pipline and met 2 issues. WKWebView will kick webview rendering only when the WKWebView control is visible, i have been looking around WKWebView related header files and configurations, didn't find a way to force WkWebView render the view for every single frame when the control is invisible or not part of view hierarchy . Low performance when access CGImage pixel data returned from WKWebview takesnapshot, in order to get the pixel data uploaded to MTLTexture i did the following tests: Access the pixel data through CGDataProviderCopyData, the CPU usage is very high, main thread drop to 37 FPS on IPhone 8 Plus simulator, most CPU cycles spend on function vConvert_PermuteChannels_ARGB8888_CV_vec, i also try to render the CGImage to a BitmapContext but still can't get ride of vConvert_PermuteChannels_ARGB8888_CV_vec.       CGDataProviderRef provider = CGImageGetDataProvider(cgImage);       CFDataRef rawData = CGDataProviderCopyData( provider );       CFIndex length = CFDataGetLength( rawData );       UInt8 *buf = (UInt8*) CFDataGetBytePtr( rawData );       MTLRegion region = {         {0, 0, 0},         {1280, 960, 1}       };           [_webviewTexture replaceRegion:region mipmapLevel:0 withBytes:buf bytesPerRow:bytesPerRow];       CFRelease( rawData ); Another try is create metal texture from CGImage via textureLoader but failed with error "image decoding failed"        MTKTextureLoader *loader = [[MTKTextureLoader alloc] initWithDevice: _device];       NSDictionary *textureLoaderOption = @{         MTKTextureLoaderOptionTextureUsage:@(MTLTextureUsageShaderRead),         MTKTextureLoaderOptionTextureStorageMode : @(MTLStorageModePrivate)       };       NSError *error = nil;       _webviewTexture = [ loader newTextureWithCGImage:cgImage options:textureLoaderOption error:&error]; Any idea against how to force kick WebView rendering or more efficient way to access CGImage raw pixel data would be greatly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
66 Views
here is the code: struct LiveView: View {      @State var allowsInlineMediaPlayback: Bool = false      var body: some View {            VStack {                  VideoView(videoID:"vimeo.com/event/000000/embed")                  }                }            } struct VideoView: UIViewRepresentable {      let videoID: String      func makeUIView(context: Context) -> WKWebView {       let configuration = WKWebViewConfiguration()       configuration.allowsInlineMediaPlayback = true       let WKWebView = WKWebView(frame: .zero, configuration: configuration)       return WKWebView        }      func updateUIView(_ uiView: WKWebView, context: Context) {     guard let youtubeURL = URL(string: "https://\(videoID)") else     {return}     uiView.load(URLRequest (url: youtubeURL))   } } Is their a better way to accomplish feeding a live event link into a playerview instead of needing a WKWebView?
Posted
by
Post not yet marked as solved
0 Replies
58 Views
Hello, I have used WKWebview inside my tableview cell and given constraint inside my xib file. I am loading html text in webview which i get from server side in api and i have taken webview height constraint property for update height on did finish delegate method. It's not working proper and not giving proper height and on scroll every-time it's rendering with different height. My requirement is i want to display math equations and html content on webview with dynamic height of cell. I have done research and tried everything but it's not working. I am using below code for update webview height. func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {     webView.evaluateJavaScript("document.readyState", completionHandler: { (ready, error) in       if ready != nil {         DispatchQueue.main.asyncAfter(deadline: .now()) {           webView.evaluateJavaScript("document.body.scrollHeight") { [weak self] (result, _) in             guard let self = self, let result = result as? Double else { return }             self.webViewHeightConstraint.constant = CGFloat(result)             self.webView.updateConstraints()            }         }       }     })   }     Please help me to solve this issue. Thank you
Posted
by
Post not yet marked as solved
0 Replies
55 Views
I am trying to set and maintain the zoomScale value on the scrollView associated with a WKWebView. I can set the value without issue. I have noticed, however, that when the size of the webpage changes (due to a change in content), the zoomScale gets reset back to 1. Also, this reset behavior does not occur if the zoomScale is set via a pinch gesture by the user. Is there something I can do to maintain the programmatically set zoomScale when the size of the web page changes?
Posted
by
Post not yet marked as solved
1 Replies
80 Views
Hello, We are running a complex web application built with React and related ecosystem. this web application is essentially a PWA and it is offline first. So, It relies heavily on service worker, indexDB database, cache storage, local storage etc. We are running this web application inside a WKWebView which resides in a native iOS App. We have noticed that WKWebView is highly unreliable when it is running such a complex web app. some of the behaviours noticed are only blank screen is shown with no content loaded from the url when url is pointed to different location (say uat, qa, prod environments) in the same wkwebview at run time, it causes data corruption as part of indexdb. it seems that it is not keeping different sets of data for different urls. when registering newer version of service workers, wkwebview errors out and can not proceed with new registrations does not always show a target page when a react app programmatically navigates to different locations within the web app. I am interested in knowing from fellow iOS developers that have you previously experienced above with WKWebView? is WKWebView a good option for running such a web application or SFSafariView is the better alternative? thank you Dilip
Posted
by
Post not yet marked as solved
0 Replies
74 Views
Hello, I work for Holding Group company, and they plan to publish an application which is only a webView. I know the webView apps get rejected, but the case here is that this application is the internal app "For enterprise company." Also, I want to know if the app reviewing process is also applied on the Enterprise level or if it is only for the individual users Kind regards
Posted
by
Post not yet marked as solved
0 Replies
80 Views
I have a function where user can open webpage in inappbrowser and make payment there. I get this error as below when user want to make payment. My apps have no issue when launch webpage, but when user click to pay and payment gateway call selected bank url, inappbrowser suddenly closed. android is working fine but having problem only in ios. I already update webview to latest version and enable ATS.. but didnt working at all. this is a critical bugs since my users unable to make payments for now. Please help me. thank you Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit} ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=5315, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit} Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit} ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=5315, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
Posted
by
Post not yet marked as solved
0 Replies
76 Views
I'm trying to upload a binary file from iOS to a server on local Wifi. The uploader on the server works fine from its web page, but I can't get it to upload from Swift. It looks to me like my request is not properly formed, but I haven't been able to figure out what it's missing. Thanks for any help. ~ Nancy Here's my upload routine:    func uploadFile() {     let config = URLSessionConfiguration.default         let session = URLSession(configuration: config)     let updateURL = URL(string: ("http://" + currentBaseString + "/update"))     var request = URLRequest(url: updateURL!)     print("SETUP Upload Request: ", request)     request.httpMethod = "POST"     guard let fileURL = Bundle.main.url(forResource: "R2-0701", withExtension: "bin") else {       print("Failed to create URL for file.")       return     }     do {       let data = try Data(contentsOf: fileURL)       print("SETUP Found the data file\n")       request.httpBody = data       let task = URLSession.shared.uploadTask(with: request as URLRequest, fromFile: fileURL) { data, response, error in         if error != nil {           print ("RRC Task error: \(String(describing: error))")           return         }         guard let response = response as? HTTPURLResponse, (200...299).contains(response.statusCode) else {           print ("Server error")           return         }         if let mimeType = response.mimeType,           mimeType == "multipart/form-data",           let updateData = data,           let dataString = String(data: updateData, encoding: .utf8) {           print ("got data: \(dataString)")         }       }       task.resume()     }     catch {       print("Error opening file: \(error)")     }   } My URL construction is fine, it works for GET requests. "R2-0701.bin" is the filename of a file added to the project. Here's the server HTML: <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'> </script> <form method='POST' action='#' enctype='multipart/form-data' id='upload_form'> <table cellpadding = '10' align='center''> <tr> <td bgcolor='AA0000' align='center' style='color:white;'> <p font-color='white' text-size='12' > <b>Reprogram</b> </p> </td> </tr> <tr> <td> <input type='file' name='update'> </td> </tr> <tr> <td align='center'> <input type='submit' value='Update'> </form> </td> </tr> <tr> <td align='center'> <div id='prg'>progress: 0%</div> </td> </tr> </table> <script> $('form').submit(function(e){ e.preventDefault(); var form = $('#upload_form')[0]; var data = new FormData(form); $.ajax({ url: '/update', type: 'POST', data: data, contentType: false, processData:false, xhr: function() { var xhr = new window.XMLHttpRequest(); xhr.upload.addEventListener('progress', function(evt) { if (evt.lengthComputable) { var per = evt.loaded / evt.total; $('#prg').html('progress: ' + Math.round(per*100) + '%'); } }, false); return xhr; }, success:function(d, s) { console.log('success!') }, error: function (a, b, c) { } }); }); </script>; Here's the output: SETUP Upload Request: http://192.168.86.41/update SETUP Found the data file 2022-07-04 17:21:52.075958-0600 RoadrunnerComfort[5034:11127394] Task <25F2EC07-30D7-4532-BD6A-D35A41716AF2>.<7> HTTP load failed, 1048855/0 bytes (error code: -1005 [4:-4]) 2022-07-04 17:21:52.082677-0600 RoadrunnerComfort[5034:11127423] Task <25F2EC07-30D7-4532-BD6A-D35A41716AF2>.<7> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x283fb49c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x2812ecc80 [0x22eb841b8]>{length = 16, capacity = 16, bytes = 0x10020050c0a856290000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <25F2EC07-30D7-4532-BD6A-D35A41716AF2>.<7>, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "LocalUploadTask <25F2EC07-30D7-4532-BD6A-D35A41716AF2>.<7>" ), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=http://192.168.86.41/update, NSErrorFailingURLKey=http://192.168.86.41/update, _kCFStreamErrorDomainKey=4} 2022-07-04 17:21:52.083212-0600 RoadrunnerComfort[5034:11127396] [tcp] tcp_input [C7:2] flags=[R.] seq=3409008496, ack=2962928595, win=5744 state=LAST_ACK rcv_nxt=3409008496, snd_una=2962927159 RRC Task error: Optional(Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x283fb49c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x2812ecc80 [0x22eb841b8]>{length = 16, capacity = 16, bytes = 0x10020050c0a856290000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <25F2EC07-30D7-4532-BD6A-D35A41716AF2>.<7>, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "LocalUploadTask <25F2EC07-30D7-4532-BD6A-D35A41716AF2>.<7>" ), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=http://192.168.86.41/update, NSErrorFailingURLKey=http://192.168.86.41/update, _kCFStreamErrorDomainKey=4})`
Posted
by
Post not yet marked as solved
0 Replies
87 Views
We are injecting cookies using a nonPersistent() data store before creating the WKWebView (on completion). This works fine on prior versions (and I know Xcode 14 is in beta) but is no longer working in Xcode 14 / iOS 16 simulators and I see no posts, bugs raised or release notes for this so I'm raising it here to see if anyone else is experiencing this? I can see that the cookies are present in the WKHTTPCookieStore accessed via webView.configuration.websiteDataStore.httpCookieStore.getAllCookies. But both Safari debugging and our JS code embedded on the site can see no cookies.
Posted
by
Post not yet marked as solved
0 Replies
54 Views
In my iOS/iPadOS app I have notification content extension, which presents extended content using WKWebView. However, when started on lock screen (locked device), WKWebView does not load data properly. Therefore, I would like to ask user to unlock the device before displaying content. This is how Apple Mail does that - when selecting (long-pressing) notification banner on lock screen, it presents unlock screen (Passcode screen) before displaying content. Question: Do you know, how to do that? Is there any API to present unlock screen programmatically?
Posted
by
Post not yet marked as solved
0 Replies
128 Views
Hi there, I'm interested in understanding how to solve the following scenario: having AppTrackingTransparency implemented, let's assume that the user has denied the app to track. At some point, the app presents the user a webpage (WKWebView), which provides additional functionalities to the app. How should the app inform the webpage that tracking must be disabled? Is there any way to force the WKWebView to disable tracking? I've read this post. So I know that redirecting the user to Safari, therefore outside of the app, is an alternative solution. And according to this answer on stack overflow doing something like self.webView.configuration.processPool.perform(Selector(("_setCookieAcceptPolicy:")), with: HTTPCookie.AcceptPolicy.never) is not allowed and the application will be rejected. Does anyone have any suggestions?
Posted
by
Post not yet marked as solved
0 Replies
78 Views
Hi Team, We get some recurring crashes in Crashlytics titled "WebCore" and "UnoversalError.swift line2". We cannot find the exact cause. The event summary of most cases shows the iOS version as 15. Please find the attached screenshots for the same. Please help solve the problem here. Thanks in advance Regards, Mohamed Rafi
Posted
by
Post not yet marked as solved
0 Replies
71 Views
Hi, we are developing in hybrid app and our web developers would like to have some native component equivalent document for reference to create web pages. I found something for Android equivalent here and below https://material-components.github.io/material-web/demos/index.html I didn't find similar for iOS. Could you please share if you find any. Thanks in advance!
Posted
by
Post not yet marked as solved
0 Replies
119 Views
I am currently trying to create an IOS app that mirrors the one I have developed on Android. I am new to Swift, but had little trouble learning some of the basics. My app has a separate class that outputs html. I use the output html to be run using the loadHTMLString(html, baseURL) to display on the app. The user use pickers to select different parameters, but after selecting the parameters, the webView does not update the html. Using the print() method show that the new parameters get called. Here is the WKWebview struct, called Distance List import WebKit import SwiftUI struct DistanceList: UIViewRepresentable {      //Parameters for html String to update     var jump1type: String     var jump2type: String     //More parameters to come               //Create webview     var distanceList = WKWebView()        func makeUIView(context: Context) -> some WKWebView {         return distanceList     }          func updateUIView(_ uiView: UIViewType, context: Context) {         print("DistanceList.updateUIView(" + uiView.description + ", context) \njump1Type: " + jump1type)         //Invoke WKWebview extension method updateValues         distanceList.updateValues(jump1type: jump1type, jump2type: jump2type)     } } // - struct DistanceList: UIViewRepresentable extension WKWebView{     /**         * updates the HTML string and then calls it to be reloaded      */     func updateValues(jump1type: String, jump2type: String){         //Check that this method has been invoked correctly         print("DistanceList.udateValues("+jump1type+", " + jump2type + ") ")         //Creates a new HTML String from a static method in class Utils         let html: String = Utils.getDistance(jumpType1: jump1type, jumpType2: jump2type, lineType: "Jumping Round", horseType: "Horse", height1: 1.10, height2: 1.10, slope: "Flat")         //Load update html         loadHTMLString(html, baseURL: Bundle.main.resourceURL)         //Clean and clear cache         clean()     }          func clean() {             guard #available(iOS 9.0, *) else {return}             HTTPCookieStorage.shared.removeCookies(since: Date.distantPast)             WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in                 records.forEach { record in                     WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})                     #if DEBUG                         print("WKWebsiteDataStore record deleted:", record)                     #endif                 }             }     } } And here is the ContentView: import SwiftUI import UIKit import WebKit struct ContentView: View {          //Selection variables for Pickers     @State var jump1Selection = 0     @State var jump2Selection = 0     @State var useSelection = 0     @State var horseSizeSelection = 0     @State var height1Selection = 0     @State var height2Selection = 0     @State var slopeSelection = 0          //Arrays for Picker content     var jumps = [String](arrayLiteral: "Vertical", "Oxer", "Triple", "Wall", "Pole", "Cavalletti")     var uses = [String](arrayLiteral: "Jumping ", "Schooling Exercise", "From Trot")     var horseSizes = [String](arrayLiteral: "Horse", "Pony (large)", "Pony (medium)", "Pony (small)")     var jumpHeights = [String](arrayLiteral: "1.10m", "<0.50m", "0.60m", "0.70m", "0.80m", "0.90m", "1.00m", "1.10m", "1.20m", "1.30m", "1.40m", "1.50m", ">1.50m")     var slopes = [String](arrayLiteral: "Flat", "Downhill", "Uphill")          var body: some View {             VStack{                     Text("Strides Distance Calculator")                     //Jump 1                     Picker(selection: self.$jump1Selection, label: Text("Jump 1")){                         ForEach(0 ..< self.jumps.count){ index in                             Text("\(self.jumps[index])").tag(index)                         }                     }                     //Jump 2                     Picker(selection: self.$jump2Selection, label: Text("Jump 2")){                         ForEach(0 ..< self.jumps.count){ index in                             Text("\(self.jumps[index])").tag(index)                         }                     }                     //Line use                     Picker(selection: self.$useSelection, label: Text("Use")){                         ForEach(0 ..< self.uses.count){ index in                             Text("\(self.uses[index])").tag(index)                         }                     }                     //Horse size                     Picker(selection: self.$horseSizeSelection, label: Text("Horse Size")){                         ForEach(0 ..< self.horseSizes.count){ index in                             Text("\(self.horseSizes[index])").tag(index)                         }                     }                     //Fence 1 height                     Picker(selection: self.$height1Selection, label: Text("1st Fence Height")){                         ForEach(0 ..< self.jumpHeights.count){ index in                             Text("\(self.jumpHeights[index])").tag(index)                         }                     }                     //Fence 2 height                     Picker(selection: self.$height2Selection, label: Text("2nd Fence Selection")){                         ForEach(0 ..< self.jumpHeights.count){ index in                             Text("\(self.jumpHeights[index])").tag(index)                         }                     }                     //Ground slope                     Picker(selection: self.$slopeSelection, label: Text("Slope")){                         ForEach(0 ..< self.slopes.count){ index in                             Text("\(self.slopes[index])").tag(index)                         }                     }                 //Display webview                 //Only using two selections at present                 DistanceList(jump1type: self.jumps[self.jump1Selection], jump2type: self.jumps[self.jump2Selection])             }     } } struct ContentView_Previews: PreviewProvider {     static var previews: some View {         Group {                          ContentView()         }     } } When I run this app, the initial html String is loaded as it should, but the loadHTMLString method does not update to the new html String is loaded. After the second picker is loaded I get the following error code: i022-06-25 09:07:23.333657+1200 Strides Distance Calculator[23957:1326393] [ProcessSuspension] 0x10f005e60 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=23972, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" Can someone let me know what I am missing or where I am going wrong?
Posted
by
Post not yet marked as solved
2 Replies
159 Views
Hello Guys, Our application has default web browser entitlement: com.apple.developer.web-browser. However, I am not seeing it in Desktop Safari's Developer menu, I am using iPadOS 16 beta 2(20A5303i), Web Inspector is enabled in Safari's Advanced menu. Do we need to do some additional updates like rebuilding app with Xcode 14 or build that we currently have in AppStore should work without any modifications?
Posted
by