예제 #1
0
        async Task <PointF[]> GetSig()
        {
            Console.WriteLine("Getting sig");
            sigPad = new SignatureViewController {
                Amount = Invoice.ChargeDetail.Amount,
            };
            await PresentViewControllerAsync(new UINavigationController (sigPad), true);

            await sigPad.GetSignature();

            await DismissViewControllerAsync(true);

            var points = sigPad.SignatureView.Points;

            sigPad.Dispose();
            sigPad = null;
            return(points);
        }
예제 #2
0
		async Task<PointF[]> GetSig()
		{
			Console.WriteLine ("Getting sig");
			sigPad = new SignatureViewController {
				Amount = Invoice.ChargeDetail.Amount,
			};
			await PresentViewControllerAsync (new UINavigationController (sigPad), true);
			await sigPad.GetSignature ();
			await DismissViewControllerAsync (true);
			var points =  sigPad.SignatureView.Points;
			sigPad.Dispose ();
			sigPad = null;
			return points;
		}