Skip to content

BrowserEngineKit iOS xcode27.0 b2

Alex Soto edited this page Jun 23, 2026 · 1 revision

#BrowserEngineKit.framework

diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentFilter.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentFilter.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentFilter.h	2026-05-24 13:24:42
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentFilter.h	2026-06-12 02:39:54
@@ -26,8 +26,7 @@
     BEWebContentFilterPermissionDecisionAllowed,
     BEWebContentFilterPermissionDecisionDenied,
     BEWebContentFilterPermissionDecisionPending,
-};
-#define BEWEBCONTENTFILTERPERMISSIONDECISION_DEFINED 1
+} NS_SWIFT_NAME(BEWebContentFilter.PermissionDecision) API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);
 
 /// An object that represents a web content filter
 API_AVAILABLE(ios(26.2))
@@ -54,18 +53,6 @@
 /**
  @abstract Evaluates whether a URL should be blocked and if yes, provides a
  response body representing the HTML of the blocking content that will be displayed
- in either the blocked main document or blocked subframe.
- @param url The URL to be evaluated.
- @param mainDocumentURL The URL of the main document, also the root URL of the
- transitive trust policy
- @param completionHandler The completion block to be invoked when evaluation is
- complete.
- */
-- (void)evaluateURL:(NSURL *)url mainDocumentURL:(NSURL * _Nullable)mainDocumentURL completionHandler:(void (^)(BOOL shouldBlock,  NSData * _Nullable blockPageRepresentation))completionHandler API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);
-
-/**
- @abstract Evaluates whether a URL should be blocked and if yes, provides a
- response body representing the HTML of the blocking content that will be displayed
  in either the blocked main document or blocked subframe. 
  @param url The URL to be evaluated, either a main frame or subframe URL. 
  @param mainFrameURL The URL of the main document and root of the transitive trust
@@ -85,16 +72,6 @@
  successfully, and NO if it isn't.
  */
 - (void)allowURL:(NSURL *)url completionHandler:(void (^)(BOOL didAllow, NSError * _Nullable error))completionHandler;
-
-/**
- @abstract Request a blocked URL to be added to built-in web content filter's allowlist
- @param url The URL to be added.
- @param referrerURL The URL that initiated the permission request. This determines whether or not parent approval is done remotely or on-device.
- @param completionHandler The completion block to be called when the add
- operation is complete, with result of the operation. Result is BEWebContentFilterPermissionDecision that holds 
- the outcome of the request for access.
- */
-- (void)requestPermissionForURL:(NSURL *)url referrerURL:(NSURL * _Nullable)referrerURL completionHandler:(void (^)(BEWebContentFilterPermissionDecision result, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);
 
 #if BROWSERENGINEKIT_HAS_UIVIEW
 /**

Clone this wiki locally