Düzenle

Aracılığıyla paylaş


NotificationCenter Namespace

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

Classes

NCWidgetController

Coordinates the display of a widget's content with its containing app.

NCWidgetListViewController
NCWidgetListViewControllerDidRemoveRowEventArgs
NCWidgetListViewControllerDidReorderEventArgs
NCWidgetListViewDelegate
NCWidgetListViewDelegate_Extensions
NCWidgetProviding

Customizes the appearance and behavior of a widget.

NCWidgetProviding_Extensions

Extension methods to the INCWidgetProviding interface to support all the methods from the NCWidgetProviding protocol.

NCWidgetSearchViewController
NCWidgetSearchViewDelegate
NSExtensionContext_NCWidgetAdditions

Extension context methods and properties for an NDWidget.

NSWidgetSearchForTermEventArgs
NSWidgetSearchResultSelectedEventArgs
UIVibrancyEffect_NotificationCenter

Defines the appropriate vibrancy effect for widgets (extensions) displayed in the Today view.

Interfaces

INCWidgetListViewDelegate
INCWidgetProviding

Interface representing the required methods (if any) of the protocol NCWidgetProviding.

INCWidgetSearchViewDelegate

Enums

NCUpdateResult

Enumerates values that describe what happened after the application developer attempted to change the state of a widget by using the WidgetPerformUpdate(Action<NCUpdateResult>) method.

NCWidgetDisplayMode

Enumerates widget display modes.

Delegates

NCWidgetListViewControllerShouldRemoveRow
NCWidgetListViewControllerShouldReorderRow
NCWidgetListViewGetController

Remarks

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