Since you're targeting only iOS7 and above, I would suggest you ditch renderInContext:
and replace it with -[UIView drawViewHierarchyInRect:afterScreenUpdates:]
. Your code will probably look something like this then:
UIGraphicsBeginImageContext(sizeOfYourImage);
[yourViewToRender drawViewHierarchyInRect:(CGRect){0, 0, sizeOfYourImage} afterScreenUpdates:YES];
UIImage *renderedImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();