且构网

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

无法以编程方式在UIImageView(iPhone)中显示图像

更新时间:2023-12-04 21:11:10

您可以使用 imageview.image = [UIImage imageNamed:@"imagename"];

通过使用相同的图像,我们可以在每个图像视图上显示大量图像.这不会引起内存问题.只需要注意已分配图像视图的正确释放即可.

and by using same we can show large number of images on each imageview.It will not cause the memory issue.just need to take care of proper release for allocated imageview.