API Differences in WebKit in macOS 26.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in WebKit in the macOS 26.0 SDK.

Table of Contents

Functions & Methods

WKWebView
- (void)fetchDataOfTypes:(WKWebViewDataType)dataTypes completionHandler:(nonnull void (^)(NSData * _Nullable, NSError * _Nullable))completionHandler;
WKWebView
- (void)restoreData:(nonnull NSData *)data completionHandler:(nonnull void (^)(NSError * _Nullable))completionHandler;
WKHTTPCookieStore
- (void)setCookies:(nonnull NSArray<NSHTTPCookie *> *)cookies completionHandler:(nullable void (^)(void))completionHandler;
- (void)webView:(nonnull WKWebView *)webView shouldGoToBackForwardListItem:(nonnull WKBackForwardListItem *)backForwardListItem willUseInstantBack:(BOOL)willUseInstantBack completionHandler:(nonnull void (^)(BOOL))completionHandler;
WKWebsiteDataStore
- (void)fetchDataOfTypes:(nonnull NSSet<NSString *> *)dataTypes completionHandler:(nonnull void (^)(NSData * _Nullable, NSError * _Nullable))completionHandler;
WKWebsiteDataStore
- (void)restoreData:(nonnull NSData *)data completionHandler:(nonnull void (^)(NSError * _Nullable))completionHandler;

Properties & Constants

WKNavigationAction
@property(nonatomic, readonly) BOOL isContentRuleListRedirect;
WKWebView
@property(nonatomic, readonly) BOOL isBlockedByScreenTime;
WKWebView
@property(nonatomic, assign, unsafe_unretained, readwrite) NSEdgeInsets obscuredContentInsets;
extern API_UNAVAILABLE(visionos) NSString *const WKWebsiteDataTypeScreenTime
WKWebViewConfiguration
@property(nonatomic, assign, unsafe_unretained, readwrite) BOOL showsSystemScreenTimeBlockingView;