Called to give a widget an opportunity to update its contents.
- iOS 8.0+
- macOS 10.10+
A block to be called when the widget’s content has been updated.
The block takes the following parameter:
A value of type
NCUpdatethat describes the result of the update procedure. (
NCUpdatelists the possible values of
This method is called to give a widget an opportunity to update its contents and redraw its view prior to an operation such as a snapshot. When the widget is finished updating its contents (and redrawing, if necessary), the widget should call the completion handler block, passing the appropriate