reference1 reference2
reference
UIApplication *app = [UIApplication sharedApplication]; [app cancelAllLocalNotifications];
http://stackoverflow.com/questions/13028233/ios-push-notification-redirect-to-view-when-app-becomes-active