On MacOS 10.8, how can it be determined if Notification Center is enabled or not? I need to know this to choose how to notify the user.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You could read out Notification Center’s sqlite database stored at ~/Lbrary/Application Support/NotificationCenter/, which stores the info whether the user has enabled the Notification Center for an app or not. Sample code available here.