private Point GetLocalPoint() { var tapPoint = _pressedGestureRecognizer.LocationInView(NativeView); var globalRect = NativeView.ConvertRectToView(NativeView.Bounds, UIApplication.SharedApplication.Windows.First()); return(new Point(tapPoint.X - globalRect.X, tapPoint.Y - globalRect.Y)); }
private Point GetApplicationPoint() { var tapPoint = _pressedGestureRecognizer.LocationInView(Control); return(new Point(tapPoint.X, tapPoint.Y)); }