How To Remove Line in Core Graphics
问题 I draw a line using CGContextAddLineToPoint in my app now i want to remove line from given points how can i do this i am using touches for drawing line 回答1: You can erase, Given the two points, draw the line with same attributes(lineWidth etc.,) by setting the CGContextSetBlendMode(context, kCGBlendModeClear) . 来源: https://stackoverflow.com/questions/10601691/how-to-remove-line-in-core-graphics