怎么样清除数组和UIImageView的内容?不是删除数组和UIImageView本身,是清空其中的内容。
批量清空数组内容,用removeAllObjects 方法:
[array removeAllObjects];
图片要设置Image属性清空:
imageView.image = nil;