Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7810251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:42:08+00:00 2026-06-02T03:42:08+00:00

I need to always know which options the user choose on the push notification

  • 0

I need to always know which options the user choose on the push notification settings.
(The options are – alert, sound and badges)

So when my app launch I call:

UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];

and detect what the user chose.

But how can I detect if the user change the settings later during the app life time?
Is there some delegate method that get called when a change occur with this settings?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:42:10+00:00Added an answer on June 2, 2026 at 3:42 am

    There is no delegate. You need to query the UIApplication property enabledRemoteNotificationTypes periodically, for example in applicationDidBecomeActive:.

    For details check these answers:

    Determine on iPhone if user has enabled push notifications

    View In Lock Screen and enabledRemoteNotificationTypes – iOS5

    Edit:
    If you need to reset the push notification setting and the permission alert, have a look at the Apple technical note TN2265. In section “Resetting the Push Notifications Permissions Alert on iOS” they explain how to reset the setting on iOS. However, many developers complain that the procedure doesn’t work. Not sure if this link will work, you will need to have access to the Apple forum, but it is one of the threads about this exact issue.

    I was myself wondering if maybe Apple has removed the permission dialog in iOS 5.1. Otherwise why would they require the application to show the alert? According to AppStore review guidelines until June 2016:

    5.3 Apps that send Push Notifications without first obtaining user consent will be rejected

    For example Path (application) asks the user to opt-in for push notification in the middle of the sing-up process, not when the application starts for the first time.

    Not sure what should be the purpose of the prompt anyway as the application can’t query the state of the notification setting. In particular, the application can check which notification types (using enabledRemoteNotificationTypes) are enabled but NOT if push notifications for a particular application are enabled or disabled (the Notification Center ON/OFF switch at the top). At least that’s the behavior in iOS 5.1. Even if user disables notifications for that application, the application can still register for push notifications (using registerForRemoteNotificationTypes) and WILL receive an APNS token.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was always connecting to SQL which was simple, but now I would need
I need to recognize in which direction performed swipe and to know which object
Do you always need an ObjectFactory class when using JAXB? Without it I get
I have a little business and I always need to share files with my
I have a navigation bar and I need to always keep the current one
When i want to store a file in a filestream column, i always need
I'm learning Objective-C, and have a C/C++ background. In object-oriented C++, you always need
I need a page to always render in IE9 browser mode and document mode
I need one of my .exe to always run as administrator without UAC prompt.
I need to break apart a string that always looks like this: something --

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.