The project provides en effect when the user swipes the finger over one texture and by swiping reveals the texture underneath it. The effect can be applied for scratch-card action or wiping a misted glass.
sir,
1> is it possible for us to stop touches/revealing at particular masking progress? i tried using disabling user interaction like this but no success.
CGContextSetStrokeColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
CGContextBeginPath: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Thanks for your code and it works great when its in single view. If i integrate your ImageMaskView with iCarousel or even in UIscrollview to apply the scratch effect to many view. My app crashes where it points to utils class files and Imagemaskview class files. I am using ARC in my app. Does it affects because of using ARC . Pls reply me. Thanks.
Question 1: Question 1: I would like some help - how can I integrate an undo / redo?
...
Question 2: With faster movement, the erased line has not soft curves
When you scratch and image for the first time it works perfect, but if you release your finger and try to scratch the same image again the app freeze. Im trying to solve the problem by myself but not a single error is shown in Xcode. The example project is failing too.
Do you guys still work in this project?
Can you please help me solving this? or can you tell me how to solve this?