Appreciate any help fixing a crash (EXC_BAD_ACCESS) in my iOS app. I am seeing this since updating my app to iOS 8, using latest available iOS 8.1.2. The same code worked fine i
First of all sorry for the late answer but maybe it will help someone with a same problem. Main reason is that imageIO cant load image as fast as you need for my example i was reordering UITableViewCell
. Maybe It will help someone with his logics. And try to load Image into NSData and then convert to UIImage.
For example in cellForRowAtIndexPath
let image = UIImagePNGRepresentation(self.imageArray[indexPath.row])
let returnImage = UIImage(data: image)
So if you load returnImage
into imageIO func or func which uses CGContext, try to give the value returnImage