You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making an application for those that are visually impaired and I am looking for a way to press the button using a gesture recognition, looking at the RideRequestButton I see the following:
super.setup()
addTarget(self, action: #selector(uberButtonTapped(_:)), for: .touchUpInside)
sizeToFit()
}
```
where uberButtonTapped is where
``` @objc func uberButtonTapped(_ sender: UIButton) {
rideParameters.source = RideRequestButton.sourceString
requestBehavior.requestRide(parameters: rideParameters)
}
I want to be able to execute the uberButtonTapped in a selector function that I specify with my gesture recognizer.
The text was updated successfully, but these errors were encountered:
1omarsaid
changed the title
using gesture recognition to press button
using gesture recognition to press button (Question)
Apr 13, 2019
Hello,
I am making an application for those that are visually impaired and I am looking for a way to press the button using a gesture recognition, looking at the RideRequestButton I see the following:
I want to be able to execute the uberButtonTapped in a selector function that I specify with my gesture recognizer.
The text was updated successfully, but these errors were encountered: