Use:
[[UIApplication sharedApplication] isRegisteredForRemoteNotifications];
and NSUserDefaults. Store a key (e.g HasSeenSystemPushNotification) to true when the system dialog for push notifications is presented.
Then you can check the NSUD key and the isRegisteredForRemoteNotifications bool to see whether it has been presented/accepted and do your work accordingly.