Touch Up Inside:按下按钮,并且在按钮内部(inside)松手
Touch Up Outside:按下按钮,并且在按钮外部(outside)松手
[依据] 来自Apple官方文档 UIControlEvents:
UIControlEventTouchUpInside:A touch-up event in the control where the finger is inside the bounds of the control.
UIControlEventTouchUpOutside:A touch-up event in the control where the finger is outside the bounds of the control.
❤ 点击这里 -> 订阅《PAT | 蓝桥 | LeetCode学习路径 & 刷题经验》by 柳婼