How to control the tappable area of a view using contentShape() - a free SwiftUI by Example tutorial
Learn Swift coding for iOS with these free tutorials