【iOS入门】程序退出。 1.abort 平滑退出。 2.exit 直接退出。 3.assert(1)为oc中的宏,只在debug模式下有用。 没有什么深奥的东西。 参考博文:https://www.jianshu.com/p/42b5bff70c48