I'm making Apple Watch App by Swift. I want to make a function which works depend on the existence of Phone-Watch connection. I'm using WatchConnectivity like below.
if (WCSession.isSupported()) {
session = WCSession.default
session?.delegate = self
session?.activate()
}
So this iPhone App needs to know if its owner has also this Apple Watch App and it's connected. Can I get that kind of information by Swift?