I'm running my app in the latest Xcode 13 and images that are previously looked as expected, now corrupted when I running the app on iPad simulators.
My code is:
UIImage *myImage = [UIImage imageNamed:fileNameWithExtension];
CGRect imageRect = CGRectMake(start_x+2, start_y+2, width-4, width-4);
[myImage drawInRect:imageRect];
Now results in black line:
What can be the reason here?