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); }
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; }