TapGesture is one of the most common ways to add user interaction. This is video is a demonstration of a simple implementation of TapGesture to change the location of a text. One of the shortcomings of TapGesture is that it can only detect when the user lifts their finger off the screen, not when they initially touch the screen. For that functionality we need to use DragGesture
Ещё видео!