Merge 2 or more images


I have a 2 UIImageViews and I’m trying to combine them into a single image, next to each other, and save it to my photo lab. I found a lot of Objective C examples but no swift… anybody had a similar issue?



You can composite two images on top of each using something like this code.

Changing the blend mode/alpha or positioning the image might be required.