VSAlertControllerDelegate
@protocol VSAlertControllerDelegate <NSObject>
VSAlertControllerDelegate is a protocol used to inform an object about user intractions with alerts
-
Sent to the delegate just before the view controller appears.
Declaration
Objective-C
- (void)alertControllerWillAppear:(nonnull VSAlertController *)alertController;
Parameters
alertController
The alert controller
-
Sent to teh delegate just after the view controller appears.
Declaration
Objective-C
- (void)alertControllerDidAppear:(nonnull VSAlertController *)alertController;
Parameters
alertController
The alert controller
-
Sent to the delegate just before the view controller disappears.
Declaration
Objective-C
- (void)alertControllerWillDisappear: (nonnull VSAlertController *)alertController;
Parameters
alertController
The alert controller
-
Sent to teh delegate just after the view controller disappears.
Declaration
Objective-C
- (void)alertControllerDidDisappear: (nonnull VSAlertController *)alertController;
Parameters
alertController
The alert controller
-
Sent to the delegate when the user taps on an action. Message is sent before the action block is executed.
Declaration
Objective-C
- (void)alertController:(nonnull VSAlertController *)alertController didSelectAction:(nonnull VSAlertAction *)action;
Parameters
alertController
The alert controller that houses the action.
action
The action that was interacted with.