VOActionSheetViewControllerDelegate
@protocol VOActionSheetViewControllerDelegate <NSObject>
The VOActionSheetViewControllerDelegate
protocol is responsible for responding to VOActionSheetItem
selection
and dismissing the VOActionSheetViewController
.
-
Called when a user selects an action sheet item.
Declaration
Objective-C
- (void)didSelectActionSheetItem:(nonnull VOActionSheetItem *)actionSheetItem;
Swift
func didSelect(_ actionSheetItem: VOActionSheetItem)
Parameters
actionSheetItem
- the action sheet item that was selected
-
Called when the action sheet is dismissed.
Declaration
Objective-C
- (void)didDismissActionSheetViewController: (nonnull VOActionSheetViewController *)actionSheetViewController;
Swift
optional func didDismiss(_ actionSheetViewController: VOActionSheetViewController)
Parameters
actionSheetViewController
- the action sheet view controller that was dismissed