NCWidgetProviding_Extensions Class

Definition

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

public static class NCWidgetProviding_Extensions
type NCWidgetProviding_Extensions = class
Inheritance
NCWidgetProviding_Extensions

Remarks

The extension methods for INCWidgetProviding allow developers to treat instances of the interface as having all the optional methods of the original NCWidgetProviding protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetWidgetAllowsEditing(INCWidgetProviding)
GetWidgetMarginInsets(INCWidgetProviding, NSEdgeInsets)
GetWidgetMarginInsets(INCWidgetProviding, UIEdgeInsets)

Developers should not use this deprecated method.

SetWidgetAllowsEditing(INCWidgetProviding, Boolean)
WidgetActiveDisplayModeDidChange(INCWidgetProviding, NCWidgetDisplayMode, CGSize)
WidgetDidBeginEditing(INCWidgetProviding)
WidgetDidEndEditing(INCWidgetProviding)
WidgetPerformUpdate(INCWidgetProviding, Action<NCUpdateResult>)

Applies to