我的视图控制器中有以下方法:
- (IBAction)itemSlider:(UISlider *)itemSlider withEvent:(UIEvent*)e;
{
UITouch * touch = [e.allTouches anyObject];
if( touch.phase != UITouchPhaseMoved && touch.phase != UITouchPhaseBegan)
{
}
else if( touch.phase != UITouchPhaseMoved && touch.phase != UITouchPhaseBegan)
{
}
...
}
我真的需要将所有事件一一链接到我的控制器吗?