常见开发崩溃

2023-08-02  本文已影响0人  BeethOven

1.-[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from ob...
字典值为nil会崩溃

NSString *abc = nil;
@{@"abc":abc }
  1. -[__NSCFConstantString rangeOfString:options:range:locale:]: nil argument'
NSRange range = [@"" rangeOfString:nil];

会崩溃

上一篇下一篇

猜你喜欢

热点阅读