pgorzelany / ScratchCardView

A scratch card view for iOS
MIT License
311 stars 26 forks source link

'layer <CALayer: 0x600001d90660> is a part of cycle in its layer tree' *** First throw call stack #8

Closed nikmun closed 5 years ago

nikmun commented 5 years ago

Hi,

I am getting this error each time. I have created two UIViews one on another. First view (content view) has label in it and second view (the view on which we need to scratch) has image and a label in it.

Am I doing something wrong? Or there is some issue with the code? Please help

pgorzelany commented 5 years ago

Probably an issue with your code. Read here: https://stackoverflow.com/questions/31553111/layer-is-a-part-of-cycle-in-its-layer-tree-ios-9-swift-2