Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

SwiftUI cant tap in spacer of HStack

HStack {
  ...
}
.contentShape(Rectangle())
.onTapGesture { ... }
// OnTapGesture swiftui not working blank spaces
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #SwiftUI #tap #spacer #HStack
ADD COMMENT
Topic
Name
7+9 =