WebKit Changes for Objective-C
WebKit
DOMCSSRule.h
DOMDocument.h
| Declaration | |
|---|---|
| From | - (DOMNodeList *)getElementsByClassName:(NSString *)tagname |
| To | - (DOMNodeList *)getElementsByClassName:(NSString *)classNames |
DOMElement.h
Added DOMElement.innerHTML
Added DOMElement.outerHTML
DOMEventListener.h
Modified -[DOMEventListener handleEvent:]
| Declaration | |
|---|---|
| From | - (void)handleEvent:(DOMEvent *)evt |
| To | - (void)handleEvent:(DOMEvent *)event |
DOMHTMLElement.h
Removed DOMHTMLElement.innerHTML
Removed DOMHTMLElement.outerHTML
DOMMutationEvent.h
DOMNotation.h (Removed)
Removed DOMNotation
Removed DOMNotation.publicId
Removed DOMNotation.systemId
npapi.h
Added NPN_HandleEvent()
Added NPN_UnfocusInstance()
Added NPNVmuteAudioBool
Added NPPVpluginIsPlayingAudio
npfunctions.h
WebDownload.h
Removed NSObject(WebDownloadDelegate)
Added WebDownloadDelegate
WebEditingDelegate.h
Removed NSObject(WebViewEditingDelegate)
Added WebEditingDelegate
Added NSObject(WebEditingDelegate)
WebFrameLoadDelegate.h
Removed NSObject(WebFrameLoadDelegate)
Added WebFrameLoadDelegate
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
WebPolicyDelegate.h
Removed NSObject(WebPolicyDelegate)
Added WebPolicyDelegate
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebPolicyDelegate webView:decidePolicyForNewWindowAction:request:newFrameName:decisionListener:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
WebPreferences.h
WebResourceLoadDelegate.h
Removed NSObject(WebResourceLoadDelegate)
Added WebResourceLoadDelegate
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebResourceLoadDelegate webView:resource:didCancelAuthenticationChallenge:fromDataSource:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
WebUIDelegate.h
Removed NSObject(WebUIDelegate)
Added WebUIDelegate
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webView:setFrame:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewClose:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewContentRect:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewFocus:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewFrame:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewIsResizable:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewRunModal:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewShow:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewStatusText:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[WebUIDelegate webViewUnfocus:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
WebView.h
Modified WebView.downloadDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id downloadDelegate |
| To | @property(nonatomic, assign) id<WebDownloadDelegate> downloadDelegate |
Modified WebView.frameLoadDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id frameLoadDelegate |
| To | @property(nonatomic, assign) id<WebFrameLoadDelegate> frameLoadDelegate |
Modified WebView.policyDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id policyDelegate |
| To | @property(nonatomic, assign) id<WebPolicyDelegate> policyDelegate |
Modified WebView.resourceLoadDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id resourceLoadDelegate |
| To | @property(nonatomic, assign) id<WebResourceLoadDelegate> resourceLoadDelegate |
Modified WebView.UIDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id UIDelegate |
| To | @property(nonatomic, assign) id<WebUIDelegate> UIDelegate |
WKBackForwardList.h
Modified WKBackForwardList.backItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, strong) WKBackForwardListItem *backItem |
| To | @property(nonatomic, readonly, strong, nullable) WKBackForwardListItem *backItem |
Modified WKBackForwardList.backList
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *backList |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<WKBackForwardListItem *> *backList |
Modified WKBackForwardList.currentItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, strong) WKBackForwardListItem *currentItem |
| To | @property(nonatomic, readonly, strong, nullable) WKBackForwardListItem *currentItem |
Modified WKBackForwardList.forwardItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, strong) WKBackForwardListItem *forwardItem |
| To | @property(nonatomic, readonly, strong, nullable) WKBackForwardListItem *forwardItem |
Modified WKBackForwardList.forwardList
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *forwardList |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<WKBackForwardListItem *> *forwardList |
Modified -[WKBackForwardList itemAtIndex:]
| Declaration | |
|---|---|
| From | - (WKBackForwardListItem *)itemAtIndex:(NSInteger)index |
| To | - (WKBackForwardListItem * _Nullable)itemAtIndex:(NSInteger)index |
WKBackForwardListItem.h
Modified WKBackForwardListItem.initialURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *initialURL |
| To | @property(readonly, copy, nonnull) NSURL *initialURL |
Modified WKBackForwardListItem.title
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *title |
| To | @property(readonly, copy, nullable) NSString *title |
Modified WKBackForwardListItem.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nonnull) NSURL *URL |
WKError.h
WKFrameInfo.h
Modified WKFrameInfo.request
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSURLRequest *request |
| To | @property(nonatomic, readonly, copy, nonnull) NSURLRequest *request |
WKNavigationAction.h
Modified WKNavigationAction.request
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSURLRequest *request |
| To | @property(nonatomic, readonly, copy, nonnull) NSURLRequest *request |
Modified WKNavigationAction.sourceFrame
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) WKFrameInfo *sourceFrame |
| To | @property(nonatomic, readonly, copy, nonnull) WKFrameInfo *sourceFrame |
Modified WKNavigationAction.targetFrame
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) WKFrameInfo *targetFrame |
| To | @property(nonatomic, readonly, copy, nullable) WKFrameInfo *targetFrame |
WKNavigationDelegate.h
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler |
| To | - (void)webView:(WKWebView * _Nonnull)webView decidePolicyForNavigationAction:(WKNavigationAction * _Nonnull)navigationAction decisionHandler:(void (^ _Nonnull)(WKNavigationActionPolicy))decisionHandler |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView decidePolicyForNavigationResponse:(WKNavigationResponse *)navigationResponse decisionHandler:(void (^)(WKNavigationResponsePolicy))decisionHandler |
| To | - (void)webView:(WKWebView * _Nonnull)webView decidePolicyForNavigationResponse:(WKNavigationResponse * _Nonnull)navigationResponse decisionHandler:(void (^ _Nonnull)(WKNavigationResponsePolicy))decisionHandler |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation |
| To | - (void)webView:(WKWebView * _Nonnull)webView didCommitNavigation:(WKNavigation * _Null_unspecified)navigation |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error |
| To | - (void)webView:(WKWebView * _Nonnull)webView didFailNavigation:(WKNavigation * _Null_unspecified)navigation withError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(NSError *)error |
| To | - (void)webView:(WKWebView * _Nonnull)webView didFailProvisionalNavigation:(WKNavigation * _Null_unspecified)navigation withError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation |
| To | - (void)webView:(WKWebView * _Nonnull)webView didFinishNavigation:(WKNavigation * _Null_unspecified)navigation |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler |
| To | - (void)webView:(WKWebView * _Nonnull)webView didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential * _Nullable credential))completionHandler |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didReceiveServerRedirectForProvisionalNavigation:(WKNavigation *)navigation |
| To | - (void)webView:(WKWebView * _Nonnull)webView didReceiveServerRedirectForProvisionalNavigation:(WKNavigation * _Null_unspecified)navigation |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(WKNavigation *)navigation |
| To | - (void)webView:(WKWebView * _Nonnull)webView didStartProvisionalNavigation:(WKNavigation * _Null_unspecified)navigation |
WKNavigationResponse.h
Modified WKNavigationResponse.response
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSURLResponse *response |
| To | @property(nonatomic, readonly, copy, nonnull) NSURLResponse *response |
WKScriptMessage.h
Modified WKScriptMessage.body
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) id body |
| To | @property(nonatomic, readonly, copy, nonnull) id body |
Modified WKScriptMessage.frameInfo
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) WKFrameInfo *frameInfo |
| To | @property(nonatomic, readonly, copy, nonnull) WKFrameInfo *frameInfo |
Modified WKScriptMessage.name
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSString *name |
| To | @property(nonatomic, readonly, copy, nonnull) NSString *name |
Modified WKScriptMessage.webView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, weak) WKWebView *webView |
| To | @property(nonatomic, readonly, weak, nullable) WKWebView *webView |
WKScriptMessageHandler.h
| Declaration | |
|---|---|
| From | - (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message |
| To | - (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message |
WKSecurityOrigin.h (Added)
WKUIDelegate.h
| Declaration | |
|---|---|
| From | - (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures |
| To | - (WKWebView * _Nullable)webView:(WKWebView * _Nonnull)webView createWebViewWithConfiguration:(WKWebViewConfiguration * _Nonnull)configuration forNavigationAction:(WKNavigationAction * _Nonnull)navigationAction windowFeatures:(WKWindowFeatures * _Nonnull)windowFeatures |
Modified -[WKUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(void))completionHandler |
| To | - (void)webView:(WKWebView * _Nonnull)webView runJavaScriptAlertPanelWithMessage:(NSString * _Nonnull)message initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(void))completionHandler |
Modified -[WKUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView runJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL result))completionHandler |
| To | - (void)webView:(WKWebView * _Nonnull)webView runJavaScriptConfirmPanelWithMessage:(NSString * _Nonnull)message initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(BOOL result))completionHandler |
| Declaration | |
|---|---|
| From | - (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSString *result))completionHandler |
| To | - (void)webView:(WKWebView * _Nonnull)webView runJavaScriptTextInputPanelWithPrompt:(NSString * _Nonnull)prompt defaultText:(NSString * _Nullable)defaultText initiatedByFrame:(WKFrameInfo * _Nonnull)frame completionHandler:(void (^ _Nonnull)(NSString * _Nullable result))completionHandler |
WKUserContentController.h
| Declaration | |
|---|---|
| From | - (void)addScriptMessageHandler:(id<WKScriptMessageHandler>)scriptMessageHandler name:(NSString *)name |
| To | - (void)addScriptMessageHandler:(id<WKScriptMessageHandler> _Nonnull)scriptMessageHandler name:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (void)addUserScript:(WKUserScript *)userScript |
| To | - (void)addUserScript:(WKUserScript * _Nonnull)userScript |
| Declaration | |
|---|---|
| From | - (void)removeScriptMessageHandlerForName:(NSString *)name |
| To | - (void)removeScriptMessageHandlerForName:(NSString * _Nonnull)name |
Modified WKUserContentController.userScripts
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *userScripts |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<WKUserScript *> *userScripts |
WKUserScript.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly |
| To | - (instancetype _Nonnull)initWithSource:(NSString * _Nonnull)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly |
Modified WKUserScript.source
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSString *source |
| To | @property(nonatomic, readonly, copy, nonnull) NSString *source |
WKWebsiteDataRecord.h (Added)
Added WKWebsiteDataRecord
Added WKWebsiteDataTypeCookies
WKWebsiteDataStore.h (Added)
Added WKWebsiteDataStore
WKWebView.h
Modified WKWebView.backForwardList
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, strong) WKBackForwardList *backForwardList |
| To | @property(nonatomic, readonly, strong, nonnull) WKBackForwardList *backForwardList |
Modified WKWebView.configuration
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) WKWebViewConfiguration *configuration |
| To | @property(nonatomic, readonly, copy, nonnull) WKWebViewConfiguration *configuration |
| Declaration | |
|---|---|
| From | - (void)evaluateJavaScript:(NSString *)javaScriptString completionHandler:(void (^)(id, NSError *))completionHandler |
| To | - (void)evaluateJavaScript:(NSString * _Nonnull)javaScriptString completionHandler:(void (^ _Nullable)(id _Nullable, NSError * _Nullable error))completionHandler |
Modified -[WKWebView goBack]
| Declaration | |
|---|---|
| From | - (WKNavigation *)goBack |
| To | - (WKNavigation * _Nullable)goBack |
Modified -[WKWebView goBack:]
| Declaration | |
|---|---|
| From | - (IBAction)goBack:(id)sender |
| To | - (IBAction)goBack:(id _Nullable)sender |
Modified -[WKWebView goForward]
| Declaration | |
|---|---|
| From | - (WKNavigation *)goForward |
| To | - (WKNavigation * _Nullable)goForward |
Modified -[WKWebView goForward:]
| Declaration | |
|---|---|
| From | - (IBAction)goForward:(id)sender |
| To | - (IBAction)goForward:(id _Nullable)sender |
| Declaration | |
|---|---|
| From | - (WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item |
| To | - (WKNavigation * _Nullable)goToBackForwardListItem:(WKBackForwardListItem * _Nonnull)item |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration *)configuration |
| To | - (instancetype _Nonnull)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration * _Nonnull)configuration |
Modified -[WKWebView loadHTMLString:baseURL:]
| Declaration | |
|---|---|
| From | - (WKNavigation *)loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL |
| To | - (WKNavigation * _Nullable)loadHTMLString:(NSString * _Nonnull)string baseURL:(NSURL * _Nullable)baseURL |
Modified -[WKWebView loadRequest:]
| Declaration | |
|---|---|
| From | - (WKNavigation *)loadRequest:(NSURLRequest *)request |
| To | - (WKNavigation * _Nullable)loadRequest:(NSURLRequest * _Nonnull)request |
Modified WKWebView.navigationDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, weak) id<WKNavigationDelegate> navigationDelegate |
| To | @property(nonatomic, weak, nullable) id<WKNavigationDelegate> navigationDelegate |
Modified -[WKWebView reload]
| Declaration | |
|---|---|
| From | - (WKNavigation *)reload |
| To | - (WKNavigation * _Nullable)reload |
Modified -[WKWebView reload:]
| Declaration | |
|---|---|
| From | - (IBAction)reload:(id)sender |
| To | - (IBAction)reload:(id _Nullable)sender |
Modified -[WKWebView reloadFromOrigin]
| Declaration | |
|---|---|
| From | - (WKNavigation *)reloadFromOrigin |
| To | - (WKNavigation * _Nullable)reloadFromOrigin |
Modified -[WKWebView reloadFromOrigin:]
| Declaration | |
|---|---|
| From | - (IBAction)reloadFromOrigin:(id)sender |
| To | - (IBAction)reloadFromOrigin:(id _Nullable)sender |
Modified -[WKWebView stopLoading:]
| Declaration | |
|---|---|
| From | - (IBAction)stopLoading:(id)sender |
| To | - (IBAction)stopLoading:(id _Nullable)sender |
Modified WKWebView.title
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSString *title |
| To | @property(nonatomic, readonly, copy, nullable) NSString *title |
Modified WKWebView.UIDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, weak) id<WKUIDelegate> UIDelegate |
| To | @property(nonatomic, weak, nullable) id<WKUIDelegate> UIDelegate |
Modified WKWebView.URL
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSURL *URL |
| To | @property(nonatomic, readonly, copy, nullable) NSURL *URL |
WKWebViewConfiguration.h
Added WKWebViewConfiguration(WKDeprecated)
Modified WKWebViewConfiguration.preferences
| Declaration | |
|---|---|
| From | @property(nonatomic, strong) WKPreferences *preferences |
| To | @property(nonatomic, strong, nonnull) WKPreferences *preferences |
Modified WKWebViewConfiguration.processPool
| Declaration | |
|---|---|
| From | @property(nonatomic, strong) WKProcessPool *processPool |
| To | @property(nonatomic, strong, nonnull) WKProcessPool *processPool |
| Declaration | |
|---|---|
| From | @property(nonatomic, strong) WKUserContentController *userContentController |
| To | @property(nonatomic, strong, nonnull) WKUserContentController *userContentController |
WKWindowFeatures.h
Modified WKWindowFeatures.allowsResizing
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *allowsResizing |
| To | @property(nonatomic, readonly, nullable) NSNumber *allowsResizing |
Modified WKWindowFeatures.height
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *height |
| To | @property(nonatomic, readonly, nullable) NSNumber *height |
Modified WKWindowFeatures.menuBarVisibility
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *menuBarVisibility |
| To | @property(nonatomic, readonly, nullable) NSNumber *menuBarVisibility |
Modified WKWindowFeatures.statusBarVisibility
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *statusBarVisibility |
| To | @property(nonatomic, readonly, nullable) NSNumber *statusBarVisibility |
Modified WKWindowFeatures.toolbarsVisibility
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *toolbarsVisibility |
| To | @property(nonatomic, readonly, nullable) NSNumber *toolbarsVisibility |
Modified WKWindowFeatures.width
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *width |
| To | @property(nonatomic, readonly, nullable) NSNumber *width |
Modified WKWindowFeatures.x
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *x |
| To | @property(nonatomic, readonly, nullable) NSNumber *x |
Modified WKWindowFeatures.y
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSNumber *y |
| To | @property(nonatomic, readonly, nullable) NSNumber *y |