什么是UIGestureRecognizerState的更改以及应该何时使用?

时间:2017-06-30 02:19:18

标签: ios9 uigesturerecognizer

什么是UIGestureRecognizerState的更改以及应该何时使用?

public enum UIGestureRecognizerState : Int {
    case possible

    case began

    case changed // the recognizer has received touches recognized as a change to the gesture. the action method will be called at the next turn of the run loop

    case ended

    case cancelled

    case failed   
}

0 个答案:

没有答案