iOS

iOS Null passed to a callee that

2017-03-05  本文已影响5人  NieFeng1024
[decompressed setData:nil]; //报错

Null passed to a callee that re quires a non-null aragument
不能给当前参数赋值一个空对象

正确做法:
[decompressed setData:@"".dataValue]; //修改之后

上一篇 下一篇

猜你喜欢

热点阅读