飛行狀態

 

mobileNetworkCode

The mobile network code (MNC) for the user’s cellular service provider. (read-only)

@property(nonatomic, readonly, retain) NSString *mobileNetworkCode

Discussion

A read-only NSString object that represents the numeric mobile network code for the user’s cellular service provider. Typing this property as an NSString object, rather than a number type, ensures that leading zeroes in MNCs are respected.

The value for this property is nil if any of the following apply:

  • The device is in Airplane mode.
  • There is no SIM card in the device.
  • The device is outside of cellular service range.

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章