InstructionsBannerViewDelegate
@objc(MBInstructionsBannerViewDelegate)
public protocol InstructionsBannerViewDelegate : AnyObject
InstructionsBannerViewDelegate
provides methods for reacting to user interactions in InstructionsBannerView
.
-
Called when the user taps the
InstructionsBannerView
.Declaration
Swift
@objc(didTapInstructionsBanner:) optional func didTapInstructionsBanner(_ sender: BaseInstructionsBannerView)
-
Called when the user drags either up or down on the
InstructionsBannerView
.Declaration
Swift
@available(*, deprecated, message: "Please use didSwipeInstructionsBanner instead.") @objc(didDragInstructionsBanner:) optional func didDragInstructionsBanner(_ sender: BaseInstructionsBannerView)
-
Called when the user swipes either left, right, or down on the
InstructionsBannerView
Declaration
Swift
@objc optional func didSwipeInstructionsBanner(_ sender: BaseInstructionsBannerView, swipeDirection direction: UISwipeGestureRecognizerDirection) -> <<error type>>