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