且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从UIImageView中删除图像

更新时间:2023-12-05 15:27:10

UIImageView 设为:

myImageView.image = nil 

UIImageView 。在调用函数返回时加载图像?是你的 UIImageView 被声明和/或在你的主要函数的其他地方使用吗?

is the correct way to clear an UIImageView. Are you loading the image when your calling function returns? Is your UIImageView being declared, and/or used elsewhere in your main function?