Hi all,

We’re starting to wonder whether we got the default value of 
NSUserNotificationAlertStyle correct in one of our apps when we first wrote it. 
 (we thought “banner” was correct, but now we’re wondering if “alert” is better 
for this app)  Is there an intended way to change the 
NSUserNotificationAlertStyle in future versions of a specific app?

(Obviously, we can change it in our Info.plist file, but if the user has played 
with the style, how to we get the OS to reset to the default value specified by 
our Info.plist file rather than retaining the user’s previous choice?)

Then, to make matters more complicated, there’s a possibility that “alert” is 
not the correct choice for this app either, but instead we should split the 
notifications into the two apps (presumably the main app and a helper), so that 
each can use the different styles.  Is there an intended way for the two apps 
to communicate?  For example, I see that XPC services aren’t allowed to present 
UIs (not sure if that extends to NSUserNotification).

Thanks,
- Andrew Keller

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to