1.UITapGestureRecognizer 的delegate:
1)gesture locationInView一個(gè)點(diǎn)擊在view的坐標(biāo)蛆封;點(diǎn)擊如果在view的外面,就會出現(xiàn)負(fù)值杖们;
2).delegate控制一個(gè)事件是否識別等夷狰。gestureRecognizerShouldBegin
2.ConvertView,ConvertPoint茬贵;
3.UIView繼承了UIResponder:
touchesBegan/Move/End/Cancel;
PressesBegan/Move/End/Cancel;
MotionBegan/Move/End/Cancel;
4.UITouch簿透,UIEvent,UIPress解藻;
1)Event是個(gè)集合的概念老充,touch,motion是子項(xiàng)螟左;
EventType:touch啡浊,motion,press胶背,remote巷嚣;
2)touch可以得到點(diǎn)擊的位置,點(diǎn)擊的view或windows钳吟;
5.UIDevice:
》》