My UICollectionView works fine in all version except in iOS 10. I am using UIImageView to show images.
I have images saved in theContentFolder of the application.
I am using NSData *imageData = [NSData dataWithContentsOfFile:filename]; to get the data of the image and UIImage *image = [UIImage imageWithData:imageData]; to create the image I want to show.
Does anyone know what the problem is?