Open 1omarsaid opened 5 years ago
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:
super.setup() addTarget(self, action: #selector(uberButtonTapped(_:)), for: .touchUpInside) sizeToFit() }
where uberButtonTapped is where
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.
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:
where uberButtonTapped is where
I want to be able to execute the uberButtonTapped in a selector function that I specify with my gesture recognizer.