Need help with ios-scratch-n-see?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

moqod
424 Stars 108 Forks 20 Commits 8 Opened issues

Description

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.

Services available

!
?

Need anything else?

Contributors list

No Data

Scratch & See

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 [email protected].

Update

  • Fixed masking progress calculation

Sample

Image

The project contains an example, but in general it's really simple.

objc
MDScratchImageView *scratchImageView = [[MDScratchImageView alloc] initWithFrame:imageView.frame];
scratchImageView.image = image;
That's it!

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.