iOS exit(),abort(),assert()函数区别

  • exit() 退出程序
  • abort() 停止程序,
  • assert()检查里面的参数如果为nil抛出异常;

相关文章: