看起来self.fullresolutionimages(数组/字典)是导致错误的nil。
确保先分配self.fullResolutionImages = [UIImage]()
;
另外,我不确定100%是否在没有内容的情况下进行索引是否可以正常工作,因此您可能想附加self.fullResolutionImages.append(self.fullResolutionImage)
,或以这种方式插入,self.fullResolutionImages.insert(self.fullResolutionImage, atIndex: 0)
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句