Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui tap gesture

Text("Hello, World!")
    .onTapGesture(count: 2) {
        print("Double tapped!")
    }
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #swiftui #tap #gesture
ADD COMMENT
Topic
Name
7+1 =