UIContextualAction
extension UIContextualAction
-
Convenience constructor.
Declaration
Swift
public convenience init(icon: Icon, color: UIColor, handler: @escaping Handler)Parameters
iconthe icon of the action
colorthe background color of the action
handlerthe closure to invoke when the action fires
View on GitHub
UIContextualAction Extension Reference