Interface NCWidgetProviding

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Implementing Classes:
NCWidgetProvidingAdapter

@Deprecated
public interface NCWidgetProviding
extends NSObjectProtocol
Deprecated.
Deprecated in iOS 14.0. Use WidgetKit instead. Today View extensions have been deprecated.
Since:
Available in iOS 10.0 and later.
  • Method Details

    • performUpdate

      @Deprecated void performUpdate​(VoidBlock1<NCUpdateResult> completionHandler)
      Deprecated.
      Deprecated in iOS 14.0. Use WidgetKit instead. Today View extensions have been deprecated.
    • activeDisplayModeDidChange

      @Deprecated void activeDisplayModeDidChange​(NCWidgetDisplayMode activeDisplayMode, CGSize maxSize)
      Deprecated.
      Deprecated in iOS 14.0. Use WidgetKit instead. Today View extensions have been deprecated.
      Since:
      Available in iOS 10.0 and later.
    • getMarginInsetsForProposedInsets

      @Deprecated UIEdgeInsets getMarginInsetsForProposedInsets​(UIEdgeInsets defaultMarginInsets)
      Deprecated.
      Deprecated in iOS 10.0. This method will not be called on widgets linked against iOS versions 10.0 and later.