2017-03-29 3 views

답변

0
//mcc 
CTTelephonyNetworkInfo *netInfo = [[CTTelephonyNetworkInfo alloc] init]; 
CTCarrier *carrier = [netInfo subscriberCellularProvider]; 
NSString *mcc = [carrier mobileCountryCode]; 

//mnc 
NSString *mnc = [carrier mobileNetworkCode]; 
NSLog(@"mcc: %@, mnc: %@", mcc, mnc);