3

I have the reachability class working in my app for cellular data (WWAN) and WiFi. I'm curious if anyone has found a way to determine voice reachability as the cell network sometimes provides voice call capability without data traffic.

Any ideas are appreciated!

Scott Hillson
  • 900
  • 1
  • 12
  • 30
Hank Brandenburg
  • 319
  • 3
  • 12

1 Answers1

1

If all you need to know whether a SIM card is installed, i.e. not if there’s currently any coverage, you can create an instance of the Core Telephony framework’s CTTelephonyNetworkInfo class and check if its subscriberCellularProvider property is set.

freya
  • 459
  • 7
  • 14
  • 1
    Jakob - thanks for the tip! It also looks like the mobileNetworkCode property of CTCarrier will tell when the phone is out of service range, assuming the device has a SIM card and is not in airplane mode. I'll give it a try and post results. – Hank Brandenburg Nov 02 '12 at 15:20