Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
nextButton唯一响应第一次点击。
nextButton
我是否需要实施其他方法来识别更多点击?
nextButton.TouchUpInside += (s, e) => { };
设置nextButton.MultipleTouchEnabled = true(或者,在 Swift 3 中,nextButton.isMultipleTouchEnabled = true)允许一次处理多个触摸。
nextButton.MultipleTouchEnabled = true
nextButton.isMultipleTouchEnabled = true