iOS 7 Local notifications with no sound by default iOS 7 Local notifications with no sound by default objective-c objective-c

iOS 7 Local notifications with no sound by default


It looks like iOS 7.0.3 includes a fix for that.


Have you set the applicationIconBadgeNumber in "- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions"? Comment this code, and try again.....I don't why, but I got the same problem. After I commented this line, my app works correctly.


I got this same problem. What i found out was, i have a piece of code that caused this all along.

In my AppDelegate didFinishLaunchingWithOptions, i have implemented:

//remove this if you have it[[UIApplication sharedApplication] setApplicationIconBadgeNumber: 0]; //to reset the badge everytime the app loads

So what i did, I removed that code & redeploy the app. Now it has ON default value in Notification Center.

Phew.