This is an Objective-C class that helps create a masking effect similar to a scratch card, when swiping on the screen the user can see an image being revealed as he swipes. This is a cool effect that can be applied for a scratch card action or wiping a glass.
When integrating this solution to your project, please, spare us a like on Facebook, follow us on Twitter or spread a good word about us!
Feel free to get in touch with us in regards to any questions or cooperation requests via email info@moqod.com.
- Fixed masking progress calculation
The project contains an example, but in general it's really simple.
MDScratchImageView *scratchImageView = [[MDScratchImageView alloc] initWithFrame:imageView.frame];
scratchImageView.image = image;
That's it!
MIT