Thanks eskimo.
While the Core Telephony Framework provides APIs to access the carrier data, cellular data state, and so on, this does not seem to provide an API to return if the device is cellular capable or not.
While it might be true today, it’s easy to imagine Apple adding GPS to a device that doesn’t have cellular.
Right, a new device like this would break this implementation. But until then, we would have a hacky way to detect this, which does not seem bad. I also think it's a good moment to think if this is really needed.
Topic:
App & System Services
SubTopic:
Hardware
Tags: