Can't get where pointed out in configuration files that my app delegate is AppDelegate.h ? Or maybe this name used by default always ?
If you look in main.m, the fourth parameter to UIApplicationMain() is the class of the application's delegate:
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
An instance of this class will be created as a result of this call.
Look at main.m (the call to UIApplicationMain
). The boilerplate there has class definitions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.