1
내가 지금까지 많은 코드가없는, 오직이 시작얻기 잘못된 컨텍스트 오류
CGContextSaveGState(context);
CGContextAddPath(context, highlightPath);
CGContextSetFillColorWithColor(context, [[UIColor colorWithWhite:1.0 alpha:0.05]CGColor]);
CGContextFillPath(context);
CGContextRestoreGState(context);
그 다음은
는 간단하다 :
이UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
어떻게 이미지 컨텍스트를 시작 했습니까? –