在资产文件夹中添加图标时,它会显示“源文件中的编辑器占位符”。有人知道解决方案吗?
let logo: UIImageView = {
let l = UIImageView()
l.image = #imageLiteral(resourceName: "128x128")
l.contentMode = .scaleToFill
l.layer.masksToBounds = true
//l.layer.cornerRadius = 20
return l
}()