开发者

strange error iPhone/iPad

开发者 https://www.devze.com 2023-01-18 03:53 出处:网络
So I have a table view that contains a bunch of data.The user can navigate down, browse edit, etc.However when they edit and delete a row, and then navigate back via the nav controller, sometimes (not

So I have a table view that contains a bunch of data. The user can navigate down, browse edit, etc. However when they edit and delete a row, and then navigate back via the nav controller, sometimes (not all the time) the app crashes throwing this error:

-[CALayer resourceType]: unrecognized selector sent to instance: *****开发者_C百科*****

does anyone know what could be causing this error? I can't seem to isolate the cases where this happens, it seems random. The data for this is coming from an array. Not sure if that makes a difference. Thanks in advance!


Must likely, you are over-releasing an object or releasing an object too soon (or not retaining an object).

Turn on zombie detection and try to reproduce the crash. (Instruments has a zombie detection mode or search Google for NSZombieEnabled).

0

精彩评论

暂无评论...
验证码 换一张
取 消