title: Getting wrong carrier name in IOS
body: <p>I am working on an IOS application.My requirement is to get the mobile carrier name.I used the following code.</p>
  
  <p>In .h</p>
  
  <pre><code>#import &lt;CoreTelephony/CTTelephonyNetworkInfo.h&gt;
  #import &lt;CoreTelephony/CTCarrier.h&gt;
  </code></pre>
  
  <p>In .m</p>
  
  <pre><code>CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init];
  CTCarrier *carrier = [netinfo subscriberCellularProvider];
  NSLog(@"Carrier Name: %@", [carrier carrierName]);
  
  
  Here in Log its printing "Carrier"
  </code></pre>
  
  <p>I googled and found <a href="https://stackoverflow.com/questions/6055835/getting-carriers-name-with-coretelephony-returns-just-carrier">this link</a>.But as per its answer my device is still not in airplane mode and sim card exists inside.If any one worked on it,please help me.Its killing my time.Thanks in advance</p>