更新时间: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?