API Differences in WebKit in macOS 14.0

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show 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;
WKWebsiteDataStore
@property(nonatomic, readonly, nullable) NSUUID *identifier;
WKWebsiteDataStore
@property(nonatomic, copy, readwrite, nullable) NSArray<nw_proxy_config_t> *proxyConfigurations;
WKPDFConfiguration
@property(nonatomic, assign, unsafe_unretained, readwrite) BOOL allowTransparentBackground;