简单说明iOS事件传递和响应

前言: 我们点击屏幕的时候发生了什么?系统又是怎么找到对应的响应对象来响应的? 1.事件 当我们点击屏幕的时候,会产生一个事件。其实就是UIEvent对象。 @property(nonatomic,readonly) UIEventType type;//类型 @property(nonatomic,readonly) UIEventSubtype subtype; @property(
相关文章
相关标签/搜索