What's new in WKWebView

RSS for tag

Discuss the WWDC22 Session What's new in WKWebView

Posts under wwdc2022-10049 tag

5 Posts
Sort by:
Post not yet marked as solved
1 Replies
679 Views
I recently noticed that putting the app on background for some time, then switching back to it again causes the WKWebView to reload the current page, same with just hitting f5 on it. How do we disable this behavior?
Posted Last updated
.
Post not yet marked as solved
6 Replies
17k Views
We're having problems in iOS 15.0+ with WKWebView and this assertion: [assertion] 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}>  [ProcessSuspension] 0x116004e40 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=11505, 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} No problems for iOS versions < 15, and disabling this feature fixed the issue for us. We are looking to understand if this feature is intended to be enabled as part of iOS 15's official release. Curious if there is any insight available.
Posted Last updated
.
Post not yet marked as solved
1 Replies
896 Views
Hi, We have PWA and we are loading it in WKWebViews but when we run it in simulator using xcode biometric login functionality is not working (Touch id) for which we have used webauthn. Is there any way to resolve this issue while using WKWebviews?
Posted Last updated
.
Post not yet marked as solved
0 Replies
575 Views
I used some code to capture WebGL images from a webpage. It works fine on iOS 16 and above, but the images generated in iOS 16 and below are black. Can someone help me solve this problem? UIGraphicsBeginImageContextWithOptions(CGSizeMake(self.recordView.frame.size.width, self.recordView.frame.size.height), NO, scale); CGContextRef ctx = UIGraphicsGetCurrentContext(); if (!ctx) { NSLog(@"error"); } [self.recordView drawViewHierarchyInRect:CGRectMake(0, 0, self.recordView.frame.size.width, self.recordView.frame.size.height) afterScreenUpdates:YES]; UIImage *vImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();
Posted
by luoshuai.
Last updated
.