带有 UIWebView 的 xcode 9 Objective-C 警告 - 将 Null 传递给需要非 null 参数的被调用方

xcode 9 Objective-C Warning with UIWebView - Null passed to a callee that requires a non-null argument

提问人:Pramod 提问时间:11/13/2017 更新时间:11/13/2017 访问量:126

问:

在 Xcode 9 中,当我将“nil”传递给 UIWebView 时,我收到此警告。

Null passed to a callee that requires a non-null argument

当我做这个代码时:-

[webFileView loadHTMLString:nil baseURL:nil];

检查这张图片:-

check this image

Objective-C Xcode UIWebView 警告

评论

0赞 trungduc 11/13/2017
你的问题是什么?
0赞 Pramod 11/13/2017
@trungduc我的问题是如何删除此警告...??

答: 暂无答案