diff --git a/apple/Handlers/RNRotationHandler.m b/apple/Handlers/RNRotationHandler.m index 61d6366238..545b2b74be 100644 --- a/apple/Handlers/RNRotationHandler.m +++ b/apple/Handlers/RNRotationHandler.m @@ -97,25 +97,25 @@ - (void)rotateWithEvent:(NSEvent *)event - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesBegan:touches withEvent:event]; - [self interactionsBegan:[NSSet setWithObject:event] withEvent:event]; + [self interactionsBegan:touches withEvent:event]; } - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesMoved:touches withEvent:event]; - [self interactionsMoved:[NSSet setWithObject:event] withEvent:event]; + [self interactionsMoved:touches withEvent:event]; } - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesEnded:touches withEvent:event]; - [self interactionsEnded:[NSSet setWithObject:event] withEvent:event]; + [self interactionsEnded:touches withEvent:event]; } - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesCancelled:touches withEvent:event]; - [self interactionsCancelled:[NSSet setWithObject:event] withEvent:event]; + [self interactionsCancelled:touches withEvent:event]; } #endif diff --git a/apple/Handlers/RNTapHandler.m b/apple/Handlers/RNTapHandler.m index 59c22d8326..9e2bc3e525 100644 --- a/apple/Handlers/RNTapHandler.m +++ b/apple/Handlers/RNTapHandler.m @@ -185,25 +185,25 @@ - (void)rightMouseUp:(NSEvent *)event - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesBegan:touches withEvent:event]; - [self interactionsBegan:[NSSet setWithObject:event] withEvent:event]; + [self interactionsBegan:touches withEvent:event]; } - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesMoved:touches withEvent:event]; - [self interactionsMoved:[NSSet setWithObject:event] withEvent:event]; + [self interactionsMoved:touches withEvent:event]; } - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesEnded:touches withEvent:event]; - [self interactionsEnded:[NSSet setWithObject:event] withEvent:event]; + [self interactionsEnded:touches withEvent:event]; } - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesCancelled:touches withEvent:event]; - [self interactionsCancelled:[NSSet setWithObject:event] withEvent:event]; + [self interactionsCancelled:touches withEvent:event]; } #endif