I have a navigation controller based iPhone app. I am using remote notifications and need to pass in the device token from registering via this code in the AppDelegate:
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken {
NSLog(@"registered");
NSLog(@"dev token desc = %@", [devToken description]);
}
to the RootViewController.
Seems simple but given the wiring is done in the .xib files it's not clear how to implement. Any suggestions?