Commit fbd442d8 authored by 翟国钧's avatar 翟国钧

udpate

parent 54638fcb
......@@ -381,10 +381,10 @@
+ (NSString *)getTelephonyInfo {
CTTelephonyNetworkInfo *info = [[CTTelephonyNetworkInfo alloc] init];
CTCarrier *carrier = [info subscriberCellularProvider];
if (carrier) {
return [carrier carrierName];
if (carrier == nil) {
return @"";
}
return @"";
return [carrier carrierName] != nil ? [carrier carrierName] : @"";
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment