show scratch-card effect with the help of using scratch and win example

后端 未结 3 517
终归单人心
终归单人心 2021-02-10 05:56

I am new in ios developement.i need to show scratch-card effect for an iPhone app after scratches if coupon number is visible i need to show alert message How can i do this?.i

3条回答
  •  太阳男子
    2021-02-10 06:40

    i Found very nice Github example please take a look this and impliment as par you need hope this helps to you my Frnd.

    CGScratch This is same thing that you want to apply.

    enter image description here

    review the code and check the visible area of Number else check che scration overImage is tatally removed of not if remove then show Alert.

提交回复
热议问题