I implemented a iOS application. I found a strange behavior for push notification in my application.
When I launch the application first time Push notification alert will come with two options. one is "Don't allow" and another one is "Ok".
If I tap on "Don't allow" button , the Badge, Alert and Sound button state should be OFF in settings->Notification center->myApp.
But this in not happening in my application.
Once user tap on "Don't allow" button in the push notifications in my application , the Badge, Alert and Sound button state is showing as ON in settings->Notification center->myApp.
Why my app is behaving like this ? Can any one help me on this please.
Thanks,