こんにちは、私はこの機能を実装し、ジェスチャーを渡すことができますが、どのジェスチャーがどれであるかをどのように認識できますか?たとえば、単純に左または右に移動しますか?
処理のための私のコード:
/*this function is made to handel finger gesture and flip the view to other account*/
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{
FirstViewController *screen = [[FirstViewController alloc] initWithNibName:nil bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
screen.myArray = myArray;
[self presentModalViewController:screen animated:YES];
[screen release];
}
答えてくれてありがとう