---
title: mobileNetworkCode
framework: coretelephony
role: symbol
role_heading: Instance Property
path: coretelephony/ctcarrier/mobilenetworkcode
---

# mobileNetworkCode

The mobile network code for the user’s cellular service provider.

## Declaration

```swift
var mobileNetworkCode: String? { get }
```

## Discussion

Discussion A read-only NSString object that represents the numeric mobile network code (MNC) for the user’s cellular service provider. Typing this property as an NSString object, rather than a number type, preserves leading zeroes in MNCs. The value for this property is nil if any of the following apply: There is no SIM card in the device. The device is outside of cellular service range. The value may be nil on hardware prior to iPhone 4S when in airplane mode.

## See Also

### Getting Information About the Cellular Service Provider

- [allowsVOIP](coretelephony/ctcarrier/allowsvoip.md)
- [carrierName](coretelephony/ctcarrier/carriername.md)
- [isoCountryCode](coretelephony/ctcarrier/isocountrycode.md)
- [mobileCountryCode](coretelephony/ctcarrier/mobilecountrycode.md)
