通过哪些方法可以扩展 UIControl 属性?
1 回答
0
这应该有助于事情发展:
https ://developer.apple.com/documentation/uikit/uicontrol#1968627
覆盖
sendAction(_:to:for:)现有子类的方法以观察或修改动作方法对控件关联目标的调度覆盖
beginTracking(_:with:)、continueTracking(_:with:)、endTracking(_:with:)和cancelTracking(with:)方法以跟踪控件中发生的触摸事件。
于 2010-06-01T08:07:26.073 回答