iOS Receive Push Payload Details
Used in order to receive the payload of the notification
iOS [Objective-C]
@interface AppDelegate () <AppoxeeNotificationDelegate>
Â
@end
Â
@implementation AppDelegate
Â
#pragma mark - AppoxeeDelegate
Â
- (void)appoxeeManager:(AppoxeeManager *)manager handledRemoteNotification:(APXPushNotification *)pushNotification andIdentifer:(NSString *)actionIdentifier
{
    // a push notification was received.
}
Â
- (void)appoxeeManager:(AppoxeeManager *)manager handledRichContent:(APXRichMessage *)richMessage didLaunchApp:(BOOL)didLaunch
{
    // a rich message was received.
} |
iOS [Swift]
class AppDelegate: UIResponder, UIApplicationDelegate, AppoxeeNotificationDelegate {
Â
    var window: UIWindow?
Â
    func appoxee(appoxee: Appoxee, handledRemoteNotification pushNotification: APXPushNotification, andIdentifer actionIdentifier: String) {
        Â
        // a push notification was received.
    }
Â
    func appoxee(appoxee: Appoxee, handledRichContent richMessage: APXRichMessage, didLaunchApp didLaunch: Bool) {
        Â
        // a rich message was received.
    }
} |
Â