card shrinks when scratching in iPhone 11 Pro Max
sadariyavivek opened this issue · comments
need to change
UIGraphicsBeginImageContext(self.frame.size)
with
UIGraphicsBeginImageContextWithOptions(self.frame.size, false, UIScreen.main.scale)
I loved the way payments app's like Google pay and PhonePe used scratch card option to reward it's user. Hence with 💛 cloned the same scratch card effect for you guys out there
sadariyavivek opened this issue · comments
need to change
UIGraphicsBeginImageContext(self.frame.size)
with
UIGraphicsBeginImageContextWithOptions(self.frame.size, false, UIScreen.main.scale)