© Lee Englestone 2021
L. Englestone.NET Developer's Guide to Augmented Reality in iOS https://doi.org/10.1007/978-1-4842-6770-7_12

12. Touch Gestures and Interaction

Lee Englestone1  
(1)
Offerton, UK
 

So far, we’ve looked at different ways of adding virtual objects to our Augmented Reality scenes. Wouldn’t it be great if you could interact with them too? Oh, wait. You can, and that is what we will look at in this chapter.

Gesture Recognizers

There are a number of predefined ways of touching your device’s screen that can be automatically translated into what are called gestures and fire an equivalent UIGestureRecognizer. Then based on the type of gesture made, if any of the virtual items in your scene are touched, they can be manipulated accordingly. ...

Get .NET Developer's Guide to Augmented Reality in iOS: Building Immersive Apps Using Xamarin, ARKit, and C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.