mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-05-18 09:44:09 +08:00
fix #66
This commit is contained in:
parent
a2c311730d
commit
6a74a1697b
@ -20,8 +20,8 @@ static char launchNotificationKey;
|
|||||||
Method origin;
|
Method origin;
|
||||||
Method swizzle;
|
Method swizzle;
|
||||||
|
|
||||||
origin=class_getClassMethod([self class],@selector(init));
|
origin=class_getInstanceMethod([self class],@selector(init));
|
||||||
swizzle=class_getClassMethod([self class], @selector(init_plus));
|
swizzle=class_getInstanceMethod([self class], @selector(init_plus));
|
||||||
method_exchangeImplementations(origin, swizzle);
|
method_exchangeImplementations(origin, swizzle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user