Issues with Pubnub + Wink Hub and sensors
问题 I'm trying to get my Wink Hub working with Pubnub subscriptions in my iOS app, but all I ever get is a PNUnexpectedDisconnectCategory status in the didReceiveStatus callback. Here is the code: class AppDelegate: UIResponder, UIApplicationDelegate, PNObjectEventListener { var window: UIWindow? var client: PubNub override init() { let configuration = PNConfiguration(publishKey: "", subscribeKey: "fake-key") client = PubNub.clientWithConfiguration(configuration) super.init() client.addListener