【问题标题】:Is it possible to use Web Sockets with Apple Watch? For example using StarscreamApple Watch 可以使用 Web Sockets 吗?例如使用红蜘蛛
【发布时间】:2020-01-26 14:07:09
【问题描述】:

Apple Watch 是否支持 Web Sockets?是否可以使用像红蜘蛛这样的外部库? https://github.com/daltoniam/Starscream

【问题讨论】:

    标签: swift websocket apple-watch watchos starscream


    【解决方案1】:

    我试过了,是的,它有效! Apple Watch 支持 Web Sockets ;)

    编辑:

    在 WatchOS 6/6.1 中它不再工作了 :(

    点击这里了解更多信息:Why is Starscream not working anymore on real Apple Watch (WatchOS 6)?

    【讨论】:

      【解决方案2】:

      Starscream 无法在 watchOS 上使用 SSL,因为它缺少 "the kCFStream properties"

      【讨论】:

        猜你喜欢
        • 2010-12-02
        • 1970-01-01
        • 1970-01-01
        • 2020-02-06
        • 2017-10-24
        • 2021-06-03
        • 2011-02-20
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多