Post not yet marked as solved
Post marked as unsolved with 0 replies, 711 views
Hi,I have this code below. When the app is opened it is sending a little message to iPhone. The Apple Watch when locked for say 5 mins and when opened, though it is in range with iPhone, it says "Not Connected"(as per below code). The next attempt, it works fine - "Connected"(as per the below code). I have testesd this in Watch OS 3.2. Whereas, the same in WatchOS 4.2 it is not seen. As we have to support both the WatchOS 3.2 and WatchOS 4.2, we need to fix this issue in WatchOS 3.2. fileprivate let session: WCSession? = WCSession.isSupported() ? WCSession.default : nilif let session = self.session, session.isReachable { print("Connected")}else { print("Not Connected")}