In my application I need to check network type GSM or CDMA (for Verizon). I found CTCarrier class which contains property mobileNetworkCode, but I don't wanna hardcode value for each providers. Are there other ways to check it?
Please help.
If you buy the phone from Apple either paying full price or on the Apple iPhone upgrade program, it will be unlocked. You need the Xr CDMA model, which also supports GSM. It will work on CDMA, GSM and LTE.
You could get that through the Model#, but then again, you have to hardcode a list of Model# and compare them.
Maybe you could do that by checking the IP Address of the iPhone if it is wireless connected. If once detected it would´t change unless you change the SIM ;-)
At http://www.tcpiputils.com/browse/ip-address/192.76.85.245 you get information on verizon IP space
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With