The following code does no longer work on iOS10. The image data remains unrotated.
I have confirmed that this code works on iOS 8 and 9.
CIImage *i = [[CIImage alloc] initWithImage:image];
imageView.image = [UIImage imageWithCIImage:i scale:image.scale orientation:UIImageOrientationRight];
Has anyone run into this same problem? Is this a bug, or an intended change?