[英]Load image from image url to show animation in UIImageview
I m getting more than 200 image url from web service and i am converting image url to UIImage
array and showing animation in UIImageView
and its crashing in device and its working fine in simulator? 我从Web服务中获取了200多个图像url,并将图像url转换为
UIImage
数组,并在UIImageView
显示动画,并且该动画在设备中崩溃了,并且在模拟器中工作正常? Can you plz provide any solution for this issue. 您能为这个问题提供任何解决方案吗?
我认为您应该使用本机API处理这项工作:
[UIImage +animatedImageWithImages:(NSArray *)images duration:(NSTimeInterval)duration]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.