Software, Music and Thoughts
Drum & Bass Producer, Software Developer, Love my Cats
View my complete profile
iPhone: How to get the AppDelegate from any view
You want to call something in your app delegate.
1. #import the app delegate
2. add this #define macro:
#define AppDelegate (YourAppDelegate *)[[UIApplication sharedApplication] delegate]