Type Method


A convenience method for creating the default IPv4 route.


class func `default`() -> NEIPv6Route

Return Value

A NEIPv6Route object containing the default IPv6 route.


Set this route in the includedRoutes array in NEIPv6Settings to specify that all IPv6 network traffic be routed to the TUN interface by default.

See Also

Creating an IPv6 Route

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