开发者

Clear an IKImageView?

开发者 https://www.devze.com 2023-02-15 21:03 出处:网络
I have an IKImageView set up to display in my mac application but when you don\'t give it an image, its starts w开发者_如何学运维ith like a noisy broken screenshot of my own desktop rather than being

I have an IKImageView set up to display in my mac application but when you don't give it an image, its starts w开发者_如何学运维ith like a noisy broken screenshot of my own desktop rather than being empty. How can I simply clear it and have it empty?

Thanks.


Only display it IF you actually have an image. If you don't have one just show the user a label or something saying 'No Image' or similar.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号