The ability to postpone the prompt to the user to opt-in to notifications.
Code Block |
---|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[Appoxee shared] setPostponeNotificationRequest:YES]; // call this method, prior to any Appoxee call, to not show the approve notifications alert by the operating system.
[[Appoxee shared] engageAndAutoIntegrateWithLaunchOptions:launchOptions andDelegate:self];
return YES;
} |
To request notifications, pass NO, when ever the time is perfect
Code Block |
---|
- (IBACTION)userWantsToBeNotifiedByPushNotifications
{
[[Appoxee shared] setPostponeNotificationRequest:NO];
} |