We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you add a MKTextField into a ScrollView or TableView, ripple effect does not play on tap, how can we solve this issue?
The text was updated successfully, but these errors were encountered:
ScrollViews / TableViews swallow all the touches of any subviews. You have to subclass UIScrollView and pass the touches to the MKTextField like this:
override func touchesShouldBegin(touches: Set<UITouch>, withEvent event: UIEvent?, inContentView view: UIView) -> Bool { if let textField = view as? MKTextField, let touch = touches.first { textField.beginTrackingWithTouch(touch, withEvent: event) } return true }
Sorry, something went wrong.
No branches or pull requests
If you add a MKTextField into a ScrollView or TableView, ripple effect does not play on tap, how can we solve this issue?
The text was updated successfully, but these errors were encountered: