Skip to content

Instantly share code, notes, and snippets.

@LEoREo2247 LEoREo2247/AppDelegate.m Secret
Created Nov 1, 2016

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