overlap one image over another
问题 I want to add image and some text on another image and create a single image. I have got to add text but not able to figure out that how to add image. Any help? 回答1: This snippet assumes you have UIImage's named bottomImage for the base image to be drawn upon, and topImage that will be drawn ON (above) the bottomImage. xpos,ypos are floats to describe the target x,y (top left) position where topImage will be drawn, and targetSize the size in which topImage will be drawn on bottomImage. ...