Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我期待在 ipod touch 上的应用程序中创建临时 wifi 连接。有没有可用的框架以简单的方式做到这一点?我必须在没有 wi-fi 或互联网连接可用但不同设备必须通过 tcp/ip 通信的环境中使用我的应用程序。
你正在尝试做的事情目前在 iOS 上是不可能的。使用 SDK 构建的应用程序无法对 Wi-Fi 硬件进行足够低级别的访问以加入或创建网络,并且操作系统也不允许用户创建 ad-hoc 网络。您也许可以在这里将蓝牙变成有用的东西,但我不会打赌。