public override void TouchesEnded(NSSet touches, UIEvent evt) { //for touch: AnyObject in touches var touch = touches.AnyObject as UITouch; if (touch != null) { //let touchLocation = touch.location(in: self.view); var touchLocation = touch.GetPreciseLocation(View); _shapeController.EndMove( finalLocation: SquareFillPoint( //x: Int(touchLocation.X), x: Convert.ToInt16(touchLocation.X), y: Convert.ToInt16(touchLocation.Y))); } }