ios - RegisterForRemoteNotifications throws com.apple.UNSNotificationRegistrarConnection -


the app called following methods register push notification when app launched

[[uiapplication sharedapplication] registerusernotificationsettings:[uiusernotificationsettings settingsfortypes:(uiusernotificationtypebadge | uiusernotificationtypesound | uiusernotificationtypealert) categories:nil]]; [[uiapplication sharedapplication] registerforremotenotifications]; 

however there small chance app throw following exception when executes registerforremotenotifications

crashed: com.apple.unsnotificationregistrarconnection exc_bad_access kern_invalid_address

it difficult reproduce , not happens. know root cause of issue? many thanks.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -