Reachability
Last Revision: | Version 5.0, 2016-05-05 Revised to clarify and document how Reachability supports IPv6. (Full Revision History) |
Build Requirements: | iOS SDK 8.0 or later |
Runtime Requirements: | iOS 8.0 or later |
The Reachability sample application demonstrates how to use the System Configuration framework to monitor the network state of an iOS device. In particular, it demonstrates how to know when IP can be routed and when traffic will be routed through a Wireless Wide Area Network (WWAN) interface such as EDGE or 3G. Note: Reachability cannot tell your application if you can connect to a particular host, only that an interface is available that might allow a connection, and whether that interface is the WWAN. To understand when and how to use Reachability, read "Networking Overview".
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-05-05