ashleymills / Reachability.swift

Replacement for Apple's Reachability re-written in Swift with closures
MIT License
7.94k stars 948 forks source link

Reachability has no member isConnectionRequired #332

Closed jordan-romeroporter-earnin closed 5 years ago

jordan-romeroporter-earnin commented 5 years ago

After migrating to swift 5 I got this error. What are my options?

jordan-romeroporter-earnin commented 5 years ago

What is an equivalent to this?

ashleymills commented 5 years ago

You should be able to check this using reachbility.flags.isConnectionRequiredFlagSet