I have enabled the push notification for production in my app id , created the provisioning profile using it. When i run the app in my ipad it ask for notifications and i had on the corresponding notification. But the problem is the method
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken {
is not invoking eventhough i had added the following code in the didfinishlaunch
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound)];
Any idea please help me, i am using ios6 now.
i just impliment like this way:-
UPDATE
and
please check bellow stack-overflow questions might be its helps you
iOS Registering for Push Notifications within Application
Delegate for "View" for Push Notification
Push Notification delegate call backs are not getting called
Push notification delegate method issue
push notification : both didFailToRegister and didRegister delegate not calling
Push Notification Delegates not getting called
EDIT

Check in setting is there notification not turn off