-(Nsstring * ) Getcarrier {nsstring * Strcarrier = Nil; cttelephonynetworkinfo * Networkinfo = [[Cttelephonynetworkinfo alloc] init]; ctcarrier * Carrier = [Networkinfo subscribercellularprovider]; If (Carrier = Nil) {[networkinfo release]; Return Strcarrier;} nsstring * Code = [Carrier implements enetworkcode]; If (Code = Nil) {[networkinfo release]; Return Strcarrier ;} // Determine the carrier based on mobilenetworkcode If ([Code isequaltostring: @" 00 " ] | [Code isequaltostring: @" 02 " ] | [Code isequaltostring: @" 07 " ]) Strcarrier = @" China Mobile " ; Else If ([Code isequaltostring: @" 01 " ] | [Code isequaltostring:@" 06 " ]) Strcarrier = @" China Unicom " ; Else If ([Code isequaltostring: @" 03 " ] | [Code isequaltostring: @" 05 " ]) Strcarrier = @" China Telecom " ; Else If ([Code isequaltostring: @" 20 " ]) Strcarrier = @" China tietong " ; Else Strcarrier = Nil; [networkinfo release]; Return Strcarrier ;}
China-CN
MCC |
MNC |
Brand |
Operator |
Status |
Bands (MHz) |
References and notes |
460 |
00 |
China Mobile |
China Mobile |
Operational |
GSM 900/GSM 1800/TD-SCDMA 1880/TD-SCDMA 2010 |
460 |
01 |
China Unicom |
China Unicom |
Operational |
GSM 900/GSM 1800/UMTS 2100 |
CDMA network sold to China Telecom, WCDMA effeccial trial started in May 2009 and in full effeccial operation as of October 2009. |
460 |
02 |
China Mobile |
China Mobile |
Operational |
GSM 900/GSM 1800/TD-SCDMA 1880/TD-SCDMA 2010 |
|
460 |
03 |
China Telecom |
China Telecom |
Operational |
CDMA 2000 800/CDMA 2000 2100 |
EV-DO |
460 |
05 |
China Telecom |
China Telecom |
Operational |
|
|
460 |
06 |
China Unicom |
China Unicom |
Operational |
GSM 900/GSM 1800/UMTS 2100 |
|
460 |
07 |
China Mobile |
China Mobile |
Operational |
GSM 900/GSM 1800/TD-SCDMA 1880/TD-SCDMA 2010 |
|
460 |
20 |
China tietong |
China tietong |
Operational |
GSM-R |
|
Article transferred from: http://blog.csdn.net/jiayou8809/article/details/8657974
Http://en.wikipedia.org/wiki/Mobile_Network_Code