gpt4 book ai didi

ios - 是否有与 Android API 方法 getAllCellInfo 等效的 iOS?

转载 作者:行者123 更新时间:2023-11-28 14:24:59 26 4
gpt4 key购买 nike

Android 有一个 API 方法:getAllCellInfo() “从设备上的所有 radio 返回所有观察到的小区信息,包括主小区和相邻小区”。在 iOS 上,我找到了 CTCarrier类以获取有关当前用户的家庭蜂窝服务提供商的信息。我正在尝试从 iOS 设备获取所有可用的外部基站信息。

iOS 是否有 getAllCellInfo() 等价物?

最佳答案

UIDevice.current

返回代表当前设备的对象。

你可以从 UIDevice 扩展创建你自己的方法并返回你需要的东西,看看这里的所有 Prop :https://developer.apple.com/documentation/uikit/uidevice

关于ios - 是否有与 Android API 方法 getAllCellInfo 等效的 iOS?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51672202/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com