标签: swift
这是我的代码:
if let img = UIImage(named: imageName) {image = img} else{image = UIImage(named: "default")!
但是,它仍然会出现错误:致命错误:在展开Optional值时意外发现nil。需要帮助,谢谢!