adjust ios registerNotification event

This commit is contained in:
huangminlinux 2017-10-25 10:49:58 +08:00
parent fefaaea14f
commit 14a40c6572

View File

@ -35,7 +35,7 @@ NSDictionary *_launchOptions;
_jpushEventCache = @{}.mutableCopy;
}
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(jpushSDKDidLoginNotification) name:kJPFNetworkDidLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(jpushSDKDidLoginNotification) name:kJPFNetworkDidRegisterNotification object:nil];
if (notification) {
if (notification.userInfo) {