123456789101112131415161718192021222324 |
- //
- // AppDelegate+PushNotification.h
- // Asteria
- //
- // Created by xingyu on 2024/7/16.
- //
- #import "AppDelegate.h"
- #import <OneSignal/OneSignal.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface AppDelegate (PushNotification)<UNUserNotificationCenterDelegate>
- //初始化OneSignal SDK
- - (void)initPushNotificationConfig:(NSDictionary *)launchOptions;
- //处理推送消息
- //- (void)handlePushAction:(NSDictionary *)payLoad;
- @end
- NS_ASSUME_NONNULL_END
|