Getting cell tower information in an iOS application?

前端 未结 3 1930
陌清茗
陌清茗 2020-12-19 09:45

My question is simple but I haven\'t found a good answer anywhere. My question is this: Is there a way through either the iOS SDK or third-party frameworks to get cell tower

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-19 10:45

    The CellStumbler application (CellStumbler at code.google.com) uses undocumented methods in the CoreTelephony framework. There is a CellInfo struct defined which can be queried via the _CTServerConnectionCellMonitorGetCellInfo method.

    However, on iPhone-4S - iOS5 the CTServerConnectionCellMonitorGetCellCount always return zero - so no cell info can be queried. Things may look different on a iPhone4/3S since Apple changed the baseband modem from Infineon Gold to Qualcomm mdm6610.

    You mal also try to evaluate the built-in FieldTest app (just dial *3001#12345#* to start) which gives you a couple of info related to your cellular network status.

提交回复
热议问题