Authored by ZhangTonghai

fix warning

... ... @@ -23,7 +23,7 @@
- (BOOL)yhExplorer_webView:(nonnull YHExplorerViewController *)explorer shouldStartLoadWithRequest:(nullable NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
- (void)yhExplorer_webViewWebContentProcessDidTerminate:(id)webView;
- (void)yhExplorer_webViewWebContentProcessDidTerminate:(id _Nonnull)webView;
@end
#pragma mark - Protocol:YHExplorerDelegate
... ... @@ -65,7 +65,7 @@
/**
当wkwebview加载 一个url 会询问客户端是否应该加载时的 回调, 当且仅当iOS11及其以上的版本才可以使用
*/
- (void)wkwebviewDecidePolicyForNavigationActionWithUrl:(NSURL *)url API_AVAILABLE(ios(11.0));
- (void)wkwebviewDecidePolicyForNavigationActionWithUrl:(NSURL * _Nonnull)url API_AVAILABLE(ios(11.0));
/**
@brief 补充userAgent
... ... @@ -81,7 +81,7 @@
注:需要开启 `YHExplorerView`属性`enablePictureTapGesture`
@param explorer explorer对象
@param params 图片的一些信息
@param pictureInfo 图片的一些信息
@since 1.1.3
*/
... ... @@ -97,7 +97,7 @@
@since 1.1.0
*/
- (void)didGetMessageFromWeb:(NSDictionary * _Nonnull)params completion:(void (^) (id _Nullable, BOOL))completion;
- (void)didGetMessageFromWeb:(NSDictionary * _Nonnull)params completion:(void (^_Nullable) (id _Nullable, BOOL))completion;
@required
@end
... ... @@ -139,7 +139,7 @@
/**
* 加载URL
*
* @param URL
* @param URL 地址
*/
- (void)loadURL:(NSURL * _Nonnull)URL;
/**
... ...