Contents

prohibitExpensivePaths

A Boolean that prevents connections, listeners, and browsers from using network paths marked as expensive.

Declaration

final var prohibitExpensivePaths: Bool { get set }

Discussion

To test the behavior of this property, you can override the device’s current values for cellular and Wi-Fi cost in Settings > Developer > Network Override.

See Also

Selecting Paths