Use The New SpatialTapGesture To Get The Location of Any Tap
Daily Coding Tip 138
It is now much easier to find the location of a tap using SpatialTapGesture. When the onEnded action is called for the gesture, an event that contains a location is passed into the closure. Similar to Apple’s documentation example, I am setting this location to a State property. For some reason Apple thought the most exciting ex…


