Created
August 26, 2011 18:15
-
-
Save jtowle/1174030 to your computer and use it in GitHub Desktop.
Newsstand App Delegate's Push Arrived Handler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copy and paste this method into your AppDelegate to recieve push | |
// notifications for your application while the app is running. | |
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { | |
UALOG(@"did receive remote notification: %@", userInfo); | |
[[UAirship shared].analytics handleNotification:userInfo]; | |
[newsstand handleNewsstandPushInfo:userInfo]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment