IOS

How to get carrier name in IOS ?

CoreTelephony framework contains routines for accessing telephony-related information (available since iOS 4.0, more information here). CTCarrier class allows you to get some useful information about the user’s home cellular service provider. Let’s use it to get carrier name.

First method will check if CTTelephonyNetworkInfo class is available and will return CTCarrier instance on success.

Second method will return carrier name or “Unavailable” string if carrier is not available.

About mycodetips

Passionate about coding and software development holding 10+ Years of experience including 6+ years of experience on Mobile application Development.
View all posts by mycodetips →