手指的移動,有一個定製的UIView我如何檢測或縮小我定製的UIView
@interface EColumn : UIView
我有這個EColumn的許多情況下,它的超視圖。
我該如何檢測手指何時在此UIView區域中移動以及何時移出。
我的意思不是敲擊手勢,我可以利用這個檢測點觸手勢:
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(taped:)];
[self addGestureRecognizer:tapGesture];