API Differences in WebKit in macOS 14.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 14.0 SDK.

Table of Contents

Functions & Methods

WKHTTPCookieStore
- (void)setCookiePolicy:(WKCookiePolicy)policy completionHandler:(nullable void (^)(void))completionHandler;
WKHTTPCookieStore
- (void)getCookiePolicy:(nonnull void (^)(WKCookiePolicy))completionHandler;
WKWebsiteDataStore
+ (nonnull WKWebsiteDataStore *)dataStoreForIdentifier:(nonnull NSUUID *)identifier;
WKWebsiteDataStore
+ (void)removeDataStoreForIdentifier:(nonnull NSUUID *)identifier completionHandler:(nonnull void (^)(NSError * _Nullable))completionHandler;
WKWebsiteDataStore
+ (void)fetchAllDataStoreIdentifiers:(nonnull void (^)(NSArray<NSUUID *> * _Nonnull))completionHandler;

Properties & Constants

WKPreferences
@property(nonatomic, assign, unsafe_unretained, readwrite) WKInactiveSchedulingPolicy inactiveSchedulingPolicy;
extern NSString *const _Nonnull WKWebsiteDataTypeSearchFieldRecentSearches
extern NSString *const _Nonnull WKWebsiteDataTypeMediaKeys
extern NSString *const _Nonnull WKWebsiteDataTypeHashSalt
WKWebViewConfiguration
@property(nonatomic, assign, unsafe_unretained, readwrite) BOOL allowsInlinePredictions;
WKPDFConfiguration
@property(nonatomic, assign, unsafe_unretained, readwrite) BOOL allowTransparentBackground;
WKWebsiteDataStore
@property(nonatomic, readonly, nullable) NSUUID *identifier;
WKWebsiteDataStore
@property(nonatomic, copy, readwrite, nullable) NSArray<nw_proxy_config_t> *proxyConfigurations;