最終更新:2017-07-26 (水) 04:09:55 (2437d)
UIControl addTarget(_:action:for:)
Top / UIControl addTarget(_:action:for:)
Associates a target object and action method with the control.
https://developer.apple.com/documentation/uikit/uicontrol/1618259-addtarget
func addTarget(_ target: Any?, action: Selector, for controlEvents: UIControlEvents)
引数
- target:Any?
- Action:Selector?
- controlEvents: UIControlEvents