objective c - ios change notifications for app from inside app -
i have "settings" tab inside app asks user if want "receive notifications when app closed?"
normally user has in ios5 notifications center in general tab. can modify settings own app?
no, can't directly modify settings in app.
the best can use url scheme take user directly notification settings app:
[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"prefs:root=notifications_id&path=mail"]];
(replace "mail" bundle display name of app.)
Comments
Post a Comment