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
Search
π§ First drop π Last nurtured 1 min read
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