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.
421
stars
104
forks
source link
Fixed a bug when using scratch-n-see on iPhone 6S #15
method name: - fillTileWithTwoPoints:begin:end:
while (i.x <= end.x && i.y <= end.y) is not satisfied on iPhone 6S - apparently due to new hardware preciseness, a touch with the same begin and end points is created and causes the above.
In implementation file MDScratchImageView.mm
method name: - fillTileWithTwoPoints:begin:end:
while (i.x <= end.x && i.y <= end.y)
is not satisfied on iPhone 6S - apparently due to new hardware preciseness, a touch with the same begin and end points is created and causes the above.