intervalWillStartWarning(for:)
Warns your app of an upcoming activity a specified time before the activity starts.
Declaration
func intervalWillStartWarning(for activity: DeviceActivityName)Parameters
- activity:
The name of the activity.
Discussion
When an activity is about to start, intervalWillStartWarning warns your app extension of the upcoming activity.