iosswiftiphone

NWPathMonitor: What's meant with "expensive"?


From the NWPath-Documentation "isExpensive - A Boolean indicating whether the path uses an interface that is considered expensive, such as Cellular or a Personal Hotspot."

How is "isExpensive" meant?

In regard to money, consuming system-performance?


Solution

  • isExpensive property from NWPath is not determined by Apple. It's just a computed property that rely on network interface metadata from system - kernel networking. You may want to take a look at this.

    In regard to money, consuming system-performance?

    IMO, it could be both of these things. Why?

    1. regard to money
    1. consuming system-performance