invalidateAuthorization(for:)
Revokes an app’s authorization to connect to a route.
Declaration
func invalidateAuthorization(for route: AVCustomDeviceRoute)Parameters
- route:
The route to invalidate authorization for.
Discussion
The route only becomes authorized again if the user selects it using the route picker.