Instance Method

gestureRecognizer(_:shouldRecognizeSimultaneouslyWith:)

Determines whether two gesture recognizers should simultaneously recognize a gesture.

Declaration

@objc dynamic func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool

Parameters

gestureRecognizer

The first gesture recognizer.

otherGestureRecognizer

The second gesture recognizer.

Return Value

A Boolean value that’s true if the two recognizers should simultaneously recognize a gesture.

Relationships

See Also

Adding Gesture Recognizers to Entities

func installGestures(ARView.EntityGestures, for: HasCollision) -> [EntityGestureRecognizer]

Installs standard gestures onto the given entity, configured to be recognized simultaneously.

Beta
struct ARView.EntityGestures

The set of possible entity gesture recognizers.

Beta
class EntityRotationGestureRecognizer

A gesture recognizer that uses rotation gestures involving two touches to rotate a given entity.

Beta
class EntityScaleGestureRecognizer

A gesture recognizer that uses a pinch gesture to scale or zoom an entity.

Beta
class EntityTranslationGestureRecognizer

A gesture recognizer that uses a pan gesture to move an entity.

Beta
protocol EntityGestureRecognizer

An type of gesture recognizer that works on entities.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software