iPad 上的网络共享专用 API
是否有用于在 iPad 应用程序中启用网络共享的私有 API?由于 iPhone 支持某些合约下的网络共享,因此 iOS 中 API 的存在是显而易见的……
Is there a private API for enabling tethering in an iPad app? Since the iPhone supports tethering under some contracts, the existence of an API in the iOS is obvious…
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Preferences 文件夹中有一个文件以及
com.apple.SpringBoard.plist
:在该文件中,您需要为键
设置
以启用网络共享功能。要禁用该功能,您需要将键1023
状态State
设置为1022
。此操作只能在越狱设备上进行
There is a file located in the Preferences folder, along with the
com.apple.SpringBoard.plist
:In that file, you will want to set
1023
for keyState
to enable the Tethering feature. To disable the feature, you will want to set1022
for keyState
.This action is only possible on a jailbroken device
我不知道有私有网络共享 API。
如果您只想拥有自己的私人 WIFI 热点,并且您是 iPhone 开发人员,那么您可以下载/构建/安装 iProxy:https://github.com/tcurdt/iProxy/wiki/。不太束缚,但足以满足大多数需求。
I'm not aware of a private tethering API.
If all you want to do is have your own private WIFI hotspot, and you're an iPhone developer, then you can download/build/install iProxy: https://github.com/tcurdt/iProxy/wiki/. Not quite tethering but close enough for most needs.
我认为任何涉及网络共享的事情都将由操作系统处理,并且仅在“设置”应用程序中公开。您希望这种操作系统级功能具有什么样的 API 功能?
I would think anything dealing with tethering would be handled by the OS, and exposed only in the Settings app. What sort of API functionality would you expect for that kind of OS-level feature?