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.
有UITouchPhaseBegan和UITouchPhaseEnd,但什么是UITouchPhase?
UITouchPhaseBegan
UITouchPhaseEnd
UITouchPhase
它是常量的 typedef 枚举。请参阅UITouch 类参考
触摸阶段
手指触摸的阶段。
typedef enum { UITouchPhaseBegan, UITouchPhaseMoved, UITouchPhaseStationary, UITouchPhaseEnded, UITouchPhaseCancelled, } UITouchPhase;