Ejemplo n.º 1
0
        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));
        }