DimmingViewTapHandler
public enum DimmingViewTapHandler
A handler that the presentation controller calls when the user taps on the dimming view.
-
A block to call when the view is tapped. The parameter passed in to it will be the presented view controller.
Declaration
Swift
case block((UIViewController) -> Void)
-
A target/action pair to call when the view is tapped. The action should allow for a
sender:
parameter, which will be the presented view controller.Declaration
Swift
case targetAction(NSObjectProtocol, Selector)
-
The default handler, which will dismiss the presented view controller upon tapping.
Declaration
Swift
public static let `default`: DimmingViewTapHandler