Reputation: 1108
I removed the use of local notifications from my app, but it still appears in the iOS Settings -> Notifications. If I do not use local notifications, it makes no sense to show the app in the settings.
Is there a key in info.plist or anything that I have to delete? The deployment target is iOS 7.0.
Thanks for help.
Upvotes: 0
Views: 179
Reputation: 14169
Try to unregister user notification settings (iOS8+) by calling
if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) {
[[UIApplication sharedApplication] registerUserNotificationSettings:nil];
}
Upvotes: 1