Fix Touch events on Android

Fix Touch events on Android, using region.contains point instead of
Bitmap
This commit is contained in:
Horcrux
2017-01-13 15:54:36 +08:00
parent 0d0dd7802f
commit fc5c874a28
4 changed files with 46 additions and 63 deletions
+1 -1
View File
@@ -259,7 +259,7 @@
// hitTest delagate
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
return [self hitTest:point withEvent:event withTransform:CGAffineTransformMakeRotation(0)];
return [self hitTest:point withEvent:event withTransform:CGAffineTransformIdentity];
}
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event withTransform:(CGAffineTransform)transform