Mac Guides | Samples

MonoMac.Foundation.NSLocale.Notifications Class

Notification posted by the NSLocale class.

See Also: NSLocale+Notifications

Syntax

public static class NSLocale.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSLocale.Notifications are listed below.

See Also: Object

Public Methods

static
ObserveCurrentLocaleDidChange(EventHandler<NSNotificationEventArgs>) : NSObject
Registers a method to be notified when the NSCurrentLocaleDidChangeNotification notification is posted.