[英]Navigate iOS Storyboard ViewControllers from AppDelegate
[英]iOS Storyboard app + AppDelegate
無法獲取我的應用程序委托為AppDelegate.h的配置文件中指出的位置? 或者,也許默認情況下始終使用此名稱?
如果查看main.m,則UIApplicationMain()的第四個參數是應用程序委托的類:
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
調用的結果將創建此類的實例。
查看main.m(對UIApplicationMain
的調用)。 樣板中有類定義。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.