Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/addonsol/public_html/addontechnologies.net/knowledge-base/wp-includes/plugin.php on line 601
iPhone Archives - Knowledge Base
Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /home/addonsol/public_html/addontechnologies.net/knowledge-base/wp-includes/plugin.php on line 601
Knowledge Base

How to Find Service Provider name in ios?

Add “CoreTelephony” Framework in Project import #import <CoreTelephony/CTCarrier.h> #import <CoreTelephony/CTTelephonyNetworkInfo.h> File in ViewController.h File Add Below Code in ViewController.m File CTTelephonyNetworkInfo *networkInfo = [[[CTTelephonyNetworkInfo alloc] init] autorelease]; NSString *serviceProvider = networkInfo.subscriberCellularProvider.carrierName; NsLog(“serviceProvider : %@”, serviceProvider);