如何调用主程序的委托,也就是UIApplication调用的委托
参考代码:
MainAppDelegate * mainDel = [[UIApplication sharedApplication] delegate];
THE END !