Hi,
I just updated some of my test devices to iOS 10.2.1. And, for some reason, 16 bits grayscale images are not displayed correctly, everything is black. So I did create a sample project to reproduce the problem. My image is displayed like that:
- (void)viewDidLoad {
[super viewDidLoad];
UIImageView* image = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Test16-3Small.png"]];
image.contentMode = UIViewContentModeScaleAspectFit;
image.frame = self.view.frame;
[self.view addSubview:image];
}
- Image is black on iPhone 5c and iPad 4th gen
- Image displayed correctly on iPhone 6s and iPad mini 2th gen and simulator.
- Image could be black, even if it is small, so it does not seem to be related to a memory problem.
- Work perfectly on iOS 9.2.1
It is a bug or a new iOS limitation?
Thanks!