What is Connectivity?

Connectivity is a wrapper for Apple’s Reachability providing a reliable measure of whether Internet connectivity is available where Reachability alone can only indicate whether an interface is available that might allow a connection.

Connectivity’s objective is to solve the captive portal problem whereby an iOS device is connected to a WiFi network lacking Internet connectivity. Such situations are commonplace and may occur for example when connecting to a public WiFi network which requires the user to register before use. Connectivity can detect such situations enabling you to react accordingly.

Features:

  •  Detect captive portals when a device joins a network.
  •  Detect when connected to a router that has no Internet access.
  •  Be notified of changes in Internet connectivity.
  •  Polling connectivity checks may be performed where a constant network connection is required (optional).

Overview

  • Pricing: Free
  • Resource Link: https://github.com/rwbutler/Connectivity
  • Resource Maker on Twitter: Ross Butler
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: Connectivity
  • Carthage: rwbutler/Connectivity
  • Swift Package Manager: https://github.com/rwbutler/connectivity