iOS8 in Baidu push receive type will change:
Message Push Registration
if ([[[[uidevice currentdevice] systemversion]floatvalue ] >= 8.0)
{
[ [uiapplicationsharedapplication] registerusernotificationsettings: [ Uiusernotificationsettings
&NB Sp , &NB Sp settingsfortypes:( Uiusernotificationtypesound | Uiusernotificationtypealert | Uiusernotificationtypebadge)
Categories:nil]];
[[uiapplicationsharedapplication] registerforremotenotifications];
}
Else {
[[ uiapplicationsharedapplication ] registerforremotenotificationtypes :(uirem Otenotificationtypebadge | Uiremotenotificationtypesound | Uiremotenotificationtypealert )];
}
Cancel push
[[ uiapplication sharedapplication ] registerforremotenotificationtypes :( Uiremotenotificationtypebadge | Uiremotenotificationtypesound | Uiremotenotificationtypealert )];
iOS8 Baidu Push is not received