swift - Transferring several dictionaries ApplicationContext ( from iPhone to Apple Watch ) -


i've got function, named didreceiveapplicationcontext , need transfer several dictionaries there. now, i'm using code:

guard let transferdata = applicationcontext["datafromanotherdevice"] as? int else { return } 

when i'm trying same action ( repeat code ), don't receive anything.

the applicationcontext api sends delivers passed in dictionary. sounds want use transferuserinfo instead queues each dictionary.


Comments