且构网

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

从 UIImageView 中删除图像

更新时间:2023-12-05 16:02:46

Setting the UIImageView as:

myImageView.image = nil 

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?