Question

In my app, I use method [self DismissModalView...] to dismiss a search view, everything was ok in iOS 3 and iOS 4, but now I upgraded to XCode 4.2 and SDK 5, this method runs ok againts iOS 5 but when I test it against iOS 3 + 4, the application crashes with message log:

[CALayer retainCount]: message sent to deallocated instance 0xc640b80.

I tried to investigate but still not find out root cause, please help me!

Was it helpful?

Solution

You are deallocating some view that you didn't retain, autoreleased or something similar. Can't help more without code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top