用户操作时的加强效果?

使用gestureRecognizer怎么实现,用户操作时有下列的效果?

touchDownInside (视图变亮)
touchUpInside (确认动作)
touchUpOutside(取消和重置高亮显示)

谢谢咯

在用户进行四种基本操作时使用方法:

1)触摸屏幕时:

-(void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event;

2)手指滑过屏幕时(和手指触摸重复)

-(void)touchesMoved:(NSSet*)touches withEvent:(UIEvent*)event;

3)手指远离屏幕时

-(void)touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event;

4)系统事件,中断屏幕触摸

-(void)touchesCancelled:(NSSet*)touches withEvent:(UIEvent*)event;

直接使用触摸方法就可以,不需要gesture recognizer
向下的功能:

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event

向上的功能:

- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event

两个动作合起来就是取消。