I have an application with nested scrollviews. I have to handle swipes in the inner scrollview.Does i need to subclass UIScrollView in order to do this and implement the below given methods?
Is there any other way to handle this? I do not want to subclass the UIScrollVIew
Thanks
Arnieterm
Code:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
}
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{
NSLog(@"Moved %@",touches);
}
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{
NSLog(@"Ended %@",touches);
}
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event{
}
Is there any other way to handle this? I do not want to subclass the UIScrollVIew
Thanks
Arnieterm