UIGraphicsGetImageFromCurrentImageContext - Split image into two creates a black background
Try setting the opaque parameter to NO
.
UIGraphicsBeginImageContextWithOptions(size, NO, 0.0);
Try setting the opaque parameter to NO
.
UIGraphicsBeginImageContextWithOptions(size, NO, 0.0);