iOS Point SDK  15.1.0
<BDPRestartAlertDelegate > Protocol Reference

Implement this protocol in your UIApplicationDelegate to enable restart prompts to the user, after the App terminates. More...

#import <BDPRestartAlertDelegate.h>

+ Inheritance diagram for <BDPRestartAlertDelegate >:
+ Collaboration diagram for <BDPRestartAlertDelegate >:

Instance Methods

(NSString *) - restartAlertTitle
 
(NSString *) - restartButtonText
 

Detailed Description

Implement this protocol in your UIApplicationDelegate to enable restart prompts to the user, after the App terminates.

Implement this protocol in your UIApplicationDelegate to allow an app to be restarted should it be no longer running on the device; the user is given the option to restart the application through a local notification with an action to restart.

The title of the banner or alert (depending on user settings on the device) must be provided by the app implementing this protocol. The text on the action button can be set by the application implementing this protocol.

Method Documentation

◆ restartAlertTitle()

- (NSString * BDPRestartAlertDelegate) restartAlertTitle

When implementing app restart alert, this method is mandatory.

Returns
the string to be used in the title of the banner or alert to be used in the local notification to restart the app.

◆ restartButtonText()

- (NSString * BDPRestartAlertDelegate) restartButtonText
optional

When implementing app restart alert, this method is optional.

Returns
the string to be used in the text of the action button to be used in the local notification to restart the app.