Skip to content

Instantly share code, notes, and snippets.

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

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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.