文章目录

程序从 Main 入口启动, Main() 函数 -> UIApplicationMain() 函数(创建 UIApplication 对象,创建 UIApplication 的 delegate 对象,AppDelegate, 循环事件响应接收器)

Launching an app into the foreground

Figure 4-1  Launching an app into the foreground

Launching an app into the background

Figure 4-2  Launching an app into the background

Handling alert-based interruptions
Figure 4-3  Handling alert-based interruptions

Transitioning from the background to the foreground
Figure 4-4  Transitioning from the background to the foreground

Moving from the foreground to the background
Figure 4-5  Moving from the foreground to the background

文章目录