App 启动过程
文章目录
程序从 Main 入口启动, Main() 函数 -> UIApplicationMain() 函数(创建 UIApplication 对象,创建 UIApplication 的 delegate 对象,AppDelegate, 循环事件响应接收器)
Launching an app into the foreground

Launching an app into the background

Handling alert-based interruptions
Transitioning from the background to the foreground
Moving from the foreground to the background