首页 > 代码库 > iOS 错误提示

iOS 错误提示

1.CUICatalog: Invalid asset name supplied: , or invalid scale factor: 2.000000

=》原因:

You are calling [UIImage imageNamed:@""] or [UIImage imageNamed:nil].

No image will match the empty string. If you are trying to clear the image, pass nil instead of calling imageNamed:.