iOS WiFi网络切换 [英] iOS WiFi network switching

查看:309
本文介绍了iOS WiFi网络切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司正在开发一种需要相对较高的手机连接速率的iPhone配件。由于MFi限制(主机模式下的USB 2通信仅约100KBps),我们正在寻找在我们的配件上托管WiFi ad-hoc网络,并使用iPhone的WiFi连接到该网络。

My company is developing an iPhone accessory that requires a relatively high connectivity rate to the phone. Due to MFi limitations (USB 2 communications in HOST mode fair only around 100KBps), we're looking at hosting a WiFi ad-hoc network on our accessory, and connecting to that network with the iPhone's WiFi.

在许多方面,这可能真的很棒,除非我们似乎找不到(苹果批准的)方式来以编程方式切换iPhone的WiFi连接。理想情况下,应用程序会在可见时自动连接到配件的网络,然后在不可见/不需要时重新连接到用户的首选网络。

This could really work out great in many regards, except we can't seem to find an (Apple-approved) way to programmatically switch the iPhone's WiFi connectivity. Ideally the app would automatically connect to the accessory's network when visible, and then re-connect to the user's preferred network when not visible/needed.

我们了解MobileWiFi框架,符合技术法案,但不会通过Apple的审批程序。

We are aware of the MobileWiFi framework, which fits the technical bill, but won't pass Apple's approval process.

任何人都可以提出实现目标的方法吗?也许有一个系统模型视图可以被调用以允许用户在不直接使用私有API的情况下切换WiFi网络?

Can anybody suggest a way to achieve our goal? Perhaps there is a system model view that can be called up to allow the user to switch WiFi networks without directly using private APIs?

欢迎创意解决方案!

推荐答案

讨厌说出来,真的没办法做到这一点。我可以想到两个简单的解决方法。

Hate to say it, there's really no way to do it. I can think of two easy workarounds.

1。在Cydia上为越狱设备提供。 AirServer 就是这么做的。

1. Make it available on Cydia for jailbroken devices. AirServer just did this.

2。不太优雅,有 UIAlertView 切换到外围设备连接和断开连接时显示的设置应用程序的wifi窗格。很像位置设置提示

2. Less elegant, have UIAlertView with a switch over to the wifi pane of the Settings app that is shown when the peripheral is connected and disconnected. A lot like the location settings prompt.

3。制作Android应用程序!

3. Make an Android app!

Apple,你的屁股很痛苦。

Apple, you're a pain in the ass.

这篇关于iOS WiFi网络切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆