|
public override void TouchesMoved(NSSet touches, UIEvent uiEvent)
{
base.TouchesMoved(touches, uiEvent);
UITouch touch = touches.AnyObject as UITouch;
if(touch != null)
{
var force = touch.Force;
var maxForce = touch.MaximumPossibleForce;
if(force >= touch.MaximumPossibleForce/2)
{
CoreGraphics.CGPoint point = touch.LocationInView(touch.View);
this.Show(point);
}
}
} |