Post To App Delegate

October 28, 2012 by · Leave a Comment 

iOS

AppDelegate *appDelegate = [[UIApplication sharedApplication] delegate];
[appDelegate somePublicMethod]; 

Mac OS

AppDelegate *appDelegate = [[NSApplication sharedApplication] delegate];
[appDelegate somePublicMethod];

About admin

Comments are closed.