Instance Property

isExpensive

A Boolean that indicates whether or not the path uses an expensive interface

Declaration

var isExpensive: Bool { get }

Discussion

Returns YES is the path uses an interface that is considered expensive, such as when using a cellular data plan.

See Also

Getting Network Path Properties

var status: NWPathStatus

The evaluated status 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