Can't get iPhone device token
- by d.andreykiv
Hi. I'm trying to get iPhone device token using following code
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after app launch
[window addSubview:viewController.view];
[window makeKeyAndVisible];
NSLog(@"Registering for push notifications...");
[application…