- (UIImage*) getImage {
CGImage imgA = ....
CGImage imgB = ....
// ...
// I want to draw imgA onto imgB and return the result
我是否需要图形然后使用CGContextDrawImage();
或者我可以采用其他方式吗?
答案 0 :(得分:1)
此博客文章有一个代码示例:
http://www.realdevelopers.com/blog/code/compositing-two-uiimages-in-objective-c