Created
October 1, 2021 12:42
-
-
Save aataraxiaa/48b85c9b2efe1c2ea235ada80fd7ea87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool { | |
let convertedPoint = button.convert(point, from: self) | |
return button.point(inside: convertedPoint, with: event) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment