Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 7 Local notifications with no sound by default

When I run the app on my iOS 7 device, the app doesn't appear on the device notifications settings and doesn't sounds when a notification is being fires. Only after the first notification is being fired, I can see my app under the list of the notification settings with sounds turned off.

  1. Why doesn't the app show in the notifications list initially?

  2. Why are the sounds turned off by default?

On iOS 5&6 I don't have these problems. These are local notifications.

like image 624
Roy K Avatar asked Oct 16 '13 02:10

Roy K


2 Answers

It looks like iOS 7.0.3 includes a fix for that.

like image 155
Roy K Avatar answered Oct 15 '22 21:10

Roy K


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.

like image 22
user3026667 Avatar answered Oct 15 '22 22:10

user3026667