1

Is Their any Option to find the Network Carrier Provider information in an Application in IOS ? If Yes then provide me code as how we can know about ISP information in an ios Application.

1 Answers1

4

To find carrier details for a iOS device you have to use the CoreTelephony framework, by first adding this to your project.

Then the main header file:

#import </CTTelephonyNetworkInfo.h>  

create a instance and output the details:

CTTelephonyNetworkInfo *networkInfo = [[CTTelephonyNetworkInfo alloc] init];

NSLog(@"%@", networkInfo.subscriberCellularProvider);

Outputs the following: - Carrier name:
- Mobile Country Code:
- Mobile Network Code:
- ISO Country Code: - Allows VOIP?

Shams Ahmed
  • 4,498
  • 4
  • 21
  • 27
  • Thanks , Ahmed It is working And Displaying Career information But Is their any way to detect wifi network as well by which we are connected and using internet on our device . – Prashant Vashisht Aug 22 '14 at 09:41
  • check this answer out for [ssid](http://stackoverflow.com/questions/4712535/how-do-i-use-captivenetwork-to-get-the-current-wifi-hotspot-name) – Shams Ahmed Aug 22 '14 at 10:16