Skip to content

WebKit MacCatalyst xcode27.3 b1

Alex Soto edited this page Nov 4, 2026 · 1 revision

#WebKit.framework

diff -ruN /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironment.h /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironment.h
--- /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironment.h	2026-10-13 06:59:39
+++ /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironment.h	2026-11-04 09:32:06
@@ -30,7 +30,7 @@
 
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 
-/*! @abstract An object representing a website-provided immersive environment that is ready for presentation.
+/*! @abstract An object that represents a website-provided immersive environment ready for presentation.
  */
 NS_SWIFT_UI_ACTOR
 NS_SWIFT_SENDABLE
@@ -41,7 +41,7 @@
 + (instancetype)new NS_UNAVAILABLE;
 - (instancetype)init NS_UNAVAILABLE;
 
-/*! @abstract The frame information of the website that provided this immersive environment.
+/*! @abstract The frame information of the website that provides this immersive environment.
  */
 @property (nonatomic, readonly) WKFrameInfo *sourceFrame API_AVAILABLE(visionos(27.0));
 
diff -ruN /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironmentDelegate.h /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironmentDelegate.h
--- /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironmentDelegate.h	2026-10-13 06:59:39
+++ /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironmentDelegate.h	2026-11-04 09:32:06
@@ -32,9 +32,8 @@
 
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 
-/*! @abstract A protocol for managing immersive environment presentation in a web view.
- @discussion Implement the methods of this protocol to control authorization, presentation,
- and dismissal of immersive environments requested by websites.
+/*! @abstract A protocol that manages the authorization, presentation, and dismissal of immersive environments in a web view.
+ @discussion Assign an object that adopts this protocol to the `immersiveEnvironmentDelegate` property of a `WKWebView`.
  */
 NS_SWIFT_UI_ACTOR
 API_AVAILABLE(visionos(27.0))
@@ -44,7 +43,7 @@
 /*! @abstract Asks the delegate whether to allow an immersive environment from the specified frame.
  @param webView The web view that received the immersive environment request.
  @param frame The frame information from the website requesting the immersive environment.
- @param completionHandler The completion handler you must invoke with the request's answer. `YES` to allow
+ @param completionHandler The completion handler to invoke with the result of the authorization request. Pass `YES` to allow
  the environment presentation, or `NO` to deny it.
  */
 - (void)webView:(WKWebView *)webView shouldAllowImmersiveEnvironmentFromFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL allow))completionHandler NS_SWIFT_ASYNC_NAME(webView(_:shouldAllowImmersiveEnvironmentFrom:)) API_AVAILABLE(visionos(27.0));
@@ -52,15 +51,15 @@
 /*! @abstract Asks the delegate to present an immersive environment.
  @param webView The web view requesting presentation.
  @param environment The immersive environment to present.
- @param completionHandler The completion handler you must invoke once the presentation transition has completed.
- The error argument should be used in case the presentation failed and the environment couldn't be presented.
+ @param completionHandler The completion handler to invoke after the presentation transition completes.
+ Pass an error if the presentation fails; otherwise, pass `nil`.
  */
 - (void)webView:(WKWebView *)webView presentImmersiveEnvironment:(WKImmersiveEnvironment *)environment completionHandler:(void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(webView(_:presentImmersiveEnvironment:)) API_AVAILABLE(visionos(27.0));
 
 /*! @abstract Asks the delegate to dismiss an immersive environment.
  @param webView The web view requesting dismissal.
  @param environment The immersive environment to dismiss.
- @param completionHandler The completion handler you must invoke once the dismissal transition has completed.
+ @param completionHandler The completion handler to invoke after the dismissal transition completes.
  */
 - (void)webView:(WKWebView *)webView dismissImmersiveEnvironment:(WKImmersiveEnvironment *)environment completionHandler:(void (^)(void))completionHandler NS_SWIFT_ASYNC_NAME(webView(_:dismissImmersiveEnvironment:)) API_AVAILABLE(visionos(27.0));
 
diff -ruN /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h
--- /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h	2026-10-13 06:59:40
+++ /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h	2026-11-04 09:32:06
@@ -215,6 +215,13 @@
  */
 @property (nonatomic, readonly, nullable) SecTrustRef serverTrust API_AVAILABLE(macos(10.12), ios(10.0));
 
+/*! @abstract A SecTrustRef with a 2-QWAC for the currently committed navigation.
+ @discussion Since a separate fetch is needed to get the 2-QWAC data, this becomes available
+ after the serverTrust.  It will only become available if the server has a valid 2-QWAC.
+ This property is key-value observing (KVO) compliant.
+ */
+@property (nonatomic, readonly, nullable) SecTrustRef qualifiedServerTrust API_AVAILABLE(macos(NA), ios(27.3), visionos(NA));
+
 /*! @abstract A Boolean value indicating whether there is a back item in
  the back-forward list that can be navigated to.
  @discussion @link WKWebView @/link is key-value observing (KVO) compliant
@@ -747,6 +754,15 @@
  */
 @property (strong, nullable) NSRefreshController *refreshController API_AVAILABLE(macos(27.0));
 #endif
+
+/*
+ * Copyright (C) 2026 Apple Inc. All rights reserved.
+ */
+
+// This file is a stub. Because adding additions to WKWebView is more
+// of a hassle than it is for other files, leave this be even if everything
+// is upstreamed.
+
 
 @end
 

Clone this wiki locally