Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Opt-in/Opt-out methods within your app's setting screen, so the user can switch on/off option of receiving Push Notifications.

// Disable & Enable
[[Appoxee shared] disablePushNotifications:booleanArgument withCompletionHandler:^(NSError *appoxeeError, id data) {

	if (!appoxeeError) {

		// operation was successful.
	}
}];

// State (enabled or disabled)
[[Appoxee shared] isPushEnabled:^(NSError *appoxeeError, id data) {

	if (!appoxeeError) {

		BOOL state = [(NSNumber *)data boolValue];
	}
}];
  • No labels