CTTelephonyNetworkInfo*telephonyInfo = [CTTelephonyNetworkInfonew];NSLog(@"Current Radio Access Technology: %@", telephonyInfo.currentRadioAccessTechnology);
[NSNotificationCenter.defaultCenteraddObserverForName:CTRadioAccessTechnologyDidChangeNotification
object:nilqueue:nilusingBlock:^(NSNotification*note)
{NSLog(@"New Radio Access Technology: %@", telephonyInfo.currentRadioAccessTechnology);
}];
The log output can look something like this, when the phone’s moving from Edge to 3G:
SELECT ALLiOS7Tests[612:60b] Current Radio Access Technology: CTRadioAccessTechnologyEdge
iOS7Tests[612:1803] New Radio Access Technology: (null)
iOS7Tests[612:1803] New Radio Access Technology: CTRadioAccessTechnologyHSDPA