+ (BOOL)userReceivePushOrNot
{
if (((NSString *)[[NSUserDefaults standardUserDefaults] valueForKey:DeviceTokenKey]).length == 0)
{
[ShareMethods displayAlertView:@"请在设置中设置接受本应用通知!"];
return NO;
}
return YES;
}
{
if (((NSString *)[[NSUserDefaults standardUserDefaults] valueForKey:DeviceTokenKey]).length == 0)
{
[ShareMethods displayAlertView:@"请在设置中设置接受本应用通知!"];
return NO;
}
return YES;
}