[英]I'm facing with one little issue can you help me guys? any advice appreciated
In the image you posted, you defined:在您发布的图片中,您定义了:
@IBOutlet var ImageView: [UIImageView]!
but then you try to reference it with a lower-case i
:但是你尝试用小写的i
引用它:
imageView = ballArray...
As a side note, even correcting to an upper-case i
you'll get an error, because you've defined ImageView
as an array of image views, but you're code trying to assign one image view to it (from your ballArray
).作为旁注,即使纠正为大写i
你也会得到一个错误,因为你已经将ImageView
定义为一个图像视图数组,但是你的代码试图为它分配一个图像视图(来自你的ballArray
)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.