[问题记录]-[NSPlaceholderString initWithString:]: nil argument 参数为空导致

来源:互联网 发布:linux ifup eth0失败 编辑:程序博客网 时间:2024/04/29 05:20
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSPlaceholderString initWithString:]: nil argument'
*** First throw call stack:
(0x35a5788f 0x37dfe259 0x35a57789 0x35a577ab 0x354ff4c9 0x39756f 0x398137 0x39b5a3 0x354e6a81 0x3557a591 0x32e1a735 0x32e1a5f0)

terminate called throwing an exceptionterminate called throwing an exception(lldb) 


错误原因:传入参数为空

解决方案:检查参数,参数判断

0 0
原创粉丝点击