Since a UIImageView has an alpha property (not a method), you need to assign the alpha value to the UIImageView, like this: self.container.alpha = containerAlpha另一方面;如果UIImageView did 使用alpha方法,则应使用On the other hand; if UIImageView did have an alpha method, you would useself.container.alpha(containerAlpha) 这篇关于无法使用alpha属性调用非功能类型'CGFloat'的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-14 09:19