iOS _NSZombie_CFString

原因

定义属性的时候,使用了assign

@property(nonatomic, assign) NSString * showMsg;

导致崩溃:

- [CFString release]: message sent to deallocated instance

打断点,查看内存:

_showMsg = (_NSZombie_CFString *) class name = _NSZombie_CFString
发布了201 篇原创文章 · 获赞 220 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/xjh093/article/details/102954779
ios