With the release of iOS 6 and iphone 5 I'm trying to figure out how my app can know if the phone is in LTE mode vs GSM mode.
I haven't seen any updates to the Reachability API which can give whether it is connected to Wifi vs WWAN but I need to know what kind of WWAN connection it is.
Any ideas?
As of iOS 7, you can find this out using the currentRadioAccessTechnology
property of CTTelephonyNetworkInfo
in the CoreTelephony framework.
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
CTTelephonyNetworkInfo *networkInfo = [CTTelephonyNetworkInfo new];
if ([networkInfo.currentRadioAccessTechnology isEqualToString:CTRadioAccessTechnologyLTE]) {
// ...
}
For iO6 and below, you can not do this.
I have asked this question on the Apple developer forums, and Apple confirmed they do not yet have this functionality.
You can file a feature request bug. I have already done this (#12375460), but the more duplicates there are the more chance it will get implemented.
Also this is a duplicate of this question.
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