问题描述
我听说 iOS 5 引入了一项功能,在该功能中,iOS 设备可以通过 ExternalAccessory 框架与停靠的附件共享其 wifi 配置.问题是我在 SDK 文档中找不到有关实现此类方案的任何具体细节.
I've heard that iOS 5 introduced a feature in which the iOS device can share its wifi configuration with a docked accessory via the ExternalAccessory framework. The trouble is that I can't find any specific details on implementing this type of scheme in the SDK docs.
根据我的研究,我开始怀疑它是通过iPhone 配置实用程序"实现的,但在设备上实现这似乎仍然有点混乱.
From my research, I've begun to suspect it's achieved via the 'iPhone Configuration Utility' but this still seems like a bit of a messy method to implement on a device.
有人有什么想法吗?
一旦 wifi 设置数据可用,应该很容易将其打包并通过 ExternalAccessory 框架发送到设备,我将在其中构建相应的协议支持.
Once the wifi setup data is available, it should be easy enough to package it up and send it out via the ExternalAccessory framework to the device, where I'll build in protocol support accordingly.
谢谢
推荐答案
我怀疑 Apple 是否会允许普通开发人员访问私有数据,例如 wifi 连接设置.也许值得信赖的第三方配件提供商是的,但你可能不是.
I doubt Apple would ever allow for an average developer to access private data such as wifi connections settings. Maybe trusted third party accessory provider yes, but you probably no.
Wifi 设置是私密的并包含密码.普通(非超级)用户对包括他们的 Wifi 网络在内的所有内容都使用或多或少相同/相似的密码.如果一个应用程序可以很容易地读取它可能被严重利用.
Wifi settings are private and contain passwords. An average (non-power) user uses more or less the same/similar password for everything including their Wifi network. If an app can easily read that it could be badly exploited.
同样的方式你无法获取 Apple id,更不用说密码了.
The same way you cannot get the Apple id let alone the password.
这篇关于您可以将 WiFi 设置从 iOS 设备传递到 ExternalAccessory 对象吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!