一、Could not find an overload for “init” that accepts the supplied arguments
错误信息:
解决方案:
let imageStatesImage: Array<UIImage> = [UIImage(named: "x")!, UIImage(named: "o")!]
后面加 ! 就好
时间: 2024-09-28 18:50:41
一、Could not find an overload for “init” that accepts the supplied arguments
错误信息:
解决方案:
let imageStatesImage: Array<UIImage> = [UIImage(named: "x")!, UIImage(named: "o")!]
后面加 ! 就好