I'm using a push notification with sound data.
Initially I want the notification to play the sound. But now I don't want to play the sound in the push notification any more. so when registering the remote notification, I commented out the TypeSound... (Server side still send sound data in notification payload though)
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |
// UIRemoteNotificationTypeSound |
UIRemoteNotificationTypeAlert)];
And.. I still get the sound playing... I don't know why is it so?
And.. if I don't include the sound in push notification, neither do I register with TypeSound... will the Sound option still show in Notification Centre?