Instantly share code, notes, and snippets.

Embed
What would you like to do?
#import "AppDelegate.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (void)session:(nonnull WCSession *)session
didReceiveApplicationContext:(nonnull NSDictionary<NSString *,id> *)applicationContext
{
dispatch_async(dispatch_get_main_queue(), ^{
NSString *values=[applicationContext.allValues componentsJoinedByString:@""];
});
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment