Contents

urlSession(_:)

A task that responds to background URL sessions matching the given identifier.

Declaration

static func urlSession(_ identifier: String) -> BackgroundTask<Void, Void>

Parameters

  • identifier:

    The identifier to match.

Return Value

A background task that you can handle with your app or extension.

See Also

Responding to URL sessions