Home  >  Q&A  >  body text

ios - 遇到bad_access错误该怎么定位代码?开启了zoombie object

今天遇到了bad_access错误,控制台没什么提示,到网上搜了一下,都说开启僵尸对象,但是开启了之后,控制台还是没什么提示
完全不知道代码哪出错了

伊谢尔伦伊谢尔伦2710 days ago301

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 15:44:13

    bad_access You turn on the NSZombieEnabled option
    This problem is basically certain that you must have referenced an instance that has been deallocated
    Look for it yourself. Many times the error icon is not necessarily clear

    reply
    0
  • Cancelreply