init(name:image:target:selector:)
Creates a custom action object with the specified name, image, target, and selector.
Declaration
init(name: String, image: UIImage?, target: Any?, selector: Selector)Creates a custom action object with the specified name, image, target, and selector.
init(name: String, image: UIImage?, target: Any?, selector: Selector)