I have been trying to figure out the simplest way to send a dictionary to an accompanying Apple Watch app. From what I understand I have this code in my AppDelegate
func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [AnyHashable : Any]?, reply: @escaping ([AnyHashable : Any]?) -> Void) {
var passDict = [String: String]()
passDict["One"] = "Two"
reply(passDict)
}
How does one query the AppDelegate function from the Apple Watch app to access the dictionary.