iOS Guides | Samples

NotificationCenter Namespace

The NotificationCenter namespace provides classes for creating and updating widgets in the Today view.


The NotificationCenter namespace, added in iOS 8, allows the creations of widgets, that is, extensions to the Today view.


INCWidgetProvidingInterface representing the required methods (if any) of the protocol NCWidgetProviding.
NCUpdateResultEnumerates values that describe what happened after the application developer attempted to change the state of a widget by using the NCWidgetProviding.WidgetPerformUpdate method.
NCWidgetControllerCoordinates the display of a widget's content with its containing app.
NCWidgetDisplayModeEnumerates widget display modes.
NCWidgetProvidingCustomizes the appearance and behavior of a widget.
NCWidgetProviding_ExtensionsExtension methods to the INCWidgetProviding interface to support all the methods from the NCWidgetProviding protocol.
NSExtensionContext_NCWidgetAdditionsExtension context methods and properties for an NDWidget.
UIVibrancyEffect_NotificationCenterDefines the appropriate vibrancy effect for widgets (extensions) displayed in the Today view.