Post

Replies

Boosts

Views

Activity

Reply to Radio Access Technology Constants
To give a little more context, we are a carrier that only has LTE and 5G NSAs, but we are getting intermittent HSDPA, WCDPA, etc. func getCellularConnectionType() -> String { if #available(iOS 14.1, *) { if let radioAccessTechnology = networkInfo.serviceCurrentRadioAccessTechnology?.values.first { Debug.log("Radio Access Technology: \(radioAccessTechnology)") switch radioAccessTechnology { case CTRadioAccessTechnologyLTE: return "LTE" case CTRadioAccessTechnologyNRNSA: return "5G-NSA" case CTRadioAccessTechnologyNR: return "5G-SA" default: return "ETC" } } } return "Cellular" }
8h