Instance Property

supportsIPv4

A Boolean indicating whether the path can route IPv4 traffic.

Declaration

let supportsIPv4: Bool

See Also

Checking Path Capabilities

let supportsIPv6: Bool

A Boolean indicating whether the path can route IPv6 traffic.

let supportsDNS: Bool

A Boolean indicating whether the path has a DNS server configured.

var isConstrained: Bool

A Boolean indicating whether the path uses an interface in Low Data Mode.

Beta
let isExpensive: Bool

A Boolean indicating whether the path uses an interface that is considered expensive, such as Cellular or a Personal Hotspot.

var debugDescription: String

The description of the network path.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software