Merge two UIImages

后端 未结 2 2074
醉酒成梦
醉酒成梦 2021-02-08 05:48

I have imageA (taken from the users iPhone camera) and imageB, an image with a silly boarder (for eg) with plenty of transparent alpha space.

What I would like to to do

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-08 05:52

    Note that for retina support you should use: UIGraphicsBeginImageContextWithOptions(size, YES, 0); // 0 means let iOS deal with scale for you

提交回复
热议问题