to disable user interactivity allowsHitTesting() is used to control the interactivity of a component. when it’s set to false then the view can’t be tapped. #swiftui