IOS程序啓動的過程

IOS程序啓動按照以下5個步驟執行 1.main函數   IOS程序啓動首先執行main函數   2.UIApplicationMain   執行main函數中的UIApplicationMain函數,這個函數會執行兩個操作 * 創建UIApplication對象 * 創建UIApplication的delegate對象   3.創建和設置UIWindow的rootViewController  
相關文章
相關標籤/搜索