I've noticed that when you set the shadowpath on UIImageView's layer property, it kills the image quality. Can someone tell me why that happens and what the correct way of doing it is?
imageView.layer.shouldRasterize = YES;
imageView.layer.shadowPath = [UIBezierPath bezierPathWithRect:imageView.bounds].CGPath;
Update
It was the rasterization scale. You need to set that to your screen's scale. Else it uses the non retina image when creating the bitmap!