I have CALayer
with some image content. When the button was touched, I want to remove the content from the layer and I use this code:
[m_aCellLayer setContents:nil]
but I am getting an exception EXC_BAD_ACCESS
when I execute the above line. Do you know, why?
source
to share