I am currently trying to get the carrier info. from device. If I call -
CTTelephonyNetworkInfo *networkinfo = [[CTTelephonyNetworkInfo alloc] init];
NSDictionary *carriers = networkinfo.serviceSubscriberCellularProviders;
CTCarrier *carrInfo;
for(id key in carriers.allKeys){
carrInfo = carriers[key];
NSLog("%@", carrInfo);
}
This gives output -
Carrier [name: Airtel, MCC: 208, MNC: 15, ISO Country Code: IN]
Carrier [name: Jio, MCC: 210, MNC: 20, ISO Country Code: IN]
Bu which is physical sim and which is E-sim, I am not able to differentiate.
Also. I read this output can switch, not fixed.
So how will I be able to differentiate both the sim.
CTTelephonyNetworkInfo *networkinfo = [[CTTelephonyNetworkInfo alloc] init];
NSDictionary *carriers = networkinfo.serviceSubscriberCellularProviders;
CTCarrier *carrInfo;
for(id key in carriers.allKeys){
carrInfo = carriers[key];
NSLog("%@", carrInfo);
}
This gives output -
Carrier [name: Airtel, MCC: 208, MNC: 15, ISO Country Code: IN]
Carrier [name: Jio, MCC: 210, MNC: 20, ISO Country Code: IN]
Bu which is physical sim and which is E-sim, I am not able to differentiate.
Also. I read this output can switch, not fixed.
So how will I be able to differentiate both the sim.