简体   繁体   English

TouchUpInside不能识别一键以上

[英]TouchUpInside doesn't recognize more than one click

The nextButton only responds to the first click. nextButton仅响应第一次单击。

Do I need to implement something else to recognize more clicks? 我是否需要实施其他措施来识别更多点击?

nextButton.TouchUpInside += (s, e) =>
{

};

设置nextButton.MultipleTouchEnabled = true (或者在Swift 3中,将nextButton.isMultipleTouchEnabled = true )设置为一次处理多个触摸。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM