ios - didRegisterForRemoteNotificationsWithDeviceToken is not called up in ios8 -


i know question asked , have solution it,i tried solution available ,but nothing working me. code working on side when submit app store reject (till got 3 rejections app store).

i try the code following link:-

why didregisterforremotenotificationswithdevicetoken not called

get device token in ios 8

https://developer.apple.com/library/ios/technotes/tn2265/_index.html

i check provisional profile , certificates fine.

anyone please help

push notification registration process has been changed in ios 8, make sure have added this

 if ([[[uidevice currentdevice] systemversion] floatvalue] >= 8.0)     {         [[uiapplication sharedapplication] registerusernotificationsettings:[uiusernotificationsettings settingsfortypes:(uiusernotificationtypesound | uiusernotificationtypealert | uiusernotificationtypebadge) categories:nil]];          [[uiapplication sharedapplication] registerforremotenotifications];  } 

Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -