Now, in China, can not use CallKit.
For me, I need to observer the state of call in my App.
How can I do?
Now, in China, can not use CallKit.
For me, I need to observer the state of call in my App.
How can I do?
How about checking the vender of carrier?
CTTelephonyNetworkInfo *info = [[CTTelephonyNetworkInfo alloc] init];
CTCarrier *carrier = [info subscriberCellularProvider];
NSString *vendor = [carrier carrierName];
if ([vendor isEqualsToString:@"zhong guo yi ****"] || [vendor isEqualsToString:@"zhong guo lian tong"] || [vendor isEqualsToString:@"zhong guo dian xin"])
translate the PinYin into Chinese