- (void)draw
{
// 使用CGContextDrawImage绘制图片上下颠倒 用这个方法解决
CGContextRef context = UIGraphicsGetCurrentContext();
UIGraphicsPushContext( context );
[self.insertImage drawInRect:self.imageFrame];
UIGraphicsPopContext();
}
使用CGContextDrawImage绘制图片上下颠倒解决方法
最新推荐文章于 2022-11-13 10:57:59 发布