wxr
2021-12-14 6cc05bf6044c72f63b289da6b0a542970b16ef75
HDL-ON_iOS/Scan.cs
@@ -35,7 +35,6 @@
                var bOn = false;
                mZXingOverlayView.OnCancel += () =>
                {
                    scanner?.Cancel();
                };
@@ -50,9 +49,14 @@
            var result = await scanner.Scan();
            if (result != null)
            {
                action?.Invoke(result.Text);
            }
            else
            {
                action?.Invoke(null);
                Console.WriteLine("二维码返回值为null");
            }
        }
        public static byte[] BytesFromText(string text, int width = 300, int height = 300)