gunner_dev
gunner_dev

Reputation: 367

Is there an iOS equivalent to the Android API method getAllCellInfo?

Android has an API method: getAllCellInfo() that "returns all observed cell information from all radios on the device including the primary and neighboring cells". On iOS, I've found the CTCarrier class to obtain information about the current user's home cellular service provider. I'm attempting to get all available external cell tower information from an iOS device.

Does iOS have a getAllCellInfo() equivalent?

Upvotes: 1

Views: 187

Answers (1)

Alejandro L.Rocha
Alejandro L.Rocha

Reputation: 1145

UIDevice.current

Returns an object representing the current device.

You could maybe extend from UIDevice create your own method and return the stuff that you need, have a look at all the props here: https://developer.apple.com/documentation/uikit/uidevice

Upvotes: 0

Related Questions