[IOS]Null passed to a callee that requires a non-null argument

 遇到warning:Null passed to a callee that requires a non-null argument

只需要在变量前加上_Nullable,例如

HwIpPingDiagnosticsResult  * _Nullable pingResult

 

你可能感兴趣的:(IOS)