美文网首页
CUICatalog: Invalid asset name s

CUICatalog: Invalid asset name s

作者: 不存在的昵称 | 来源:发表于2019-11-13 11:06 被阅读0次

Xcode 图片名称为空警告

添加一个断点调试


Symbolic: +[UIImage imageNamed:]


Condition:

  • 模拟器上填 $arg3 == nil
  • 32位设备填 $r0 == nil
  • 64位设备填 $x2 == nil

如果想判断imageName为空字符串的话可以这样[(NSString*)$x2 length] == 0

如下图:

image.png

相关文章

网友评论

      本文标题:CUICatalog: Invalid asset name s

      本文链接:https://www.haomeiwen.com/subject/lolhictx.html