In your app delegate use this method
- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings
then you can know if the user gave notification permissions by using
[[UIApplication sharedApplication] isRegisteredForRemoteNotifications]
or use the notificationSettings
you receive.