12345678910111213141516171819202122232425262728293031 |
- //
- // AppDelegate+XYPush.h
- // Starbuds
- //
- // Created by 翟玉磊 on 2020/6/16.
- // Copyright © 2020 翟玉磊. All rights reserved.
- //
- #import "AppDelegate.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface AppDelegate (XYPush)
- - (void)push_application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- - (void)push_application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
- /// 注册推送
- - (void)registerAPNS:(UIApplication *)application;
- /// 推送绑定账号
- /// @param callback 回调
- - (void)push_bindingAccount:(void(^)(BOOL succes))callback;
- /// 推送解绑账号
- /// @param callback 回调
- - (void)push_unbindAccount:(void(^)(BOOL succes))callback;
- @end
- NS_ASSUME_NONNULL_END
|