如何检查是否仍然按下(点击)按钮?
答
if (myButton.state & UIControlStateHighlighted) {
// Do your stuff the user is currently holding down her finger…
}
答
看看你的UIButton的国家财产。您对UIControlStateHighlighted感兴趣。