public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            // Initializing the barcode module.
            _frame = UIScreen.MainScreen.ApplicationFrame;
            _frame = new CGRect(_frame.X,
                                _frame.Y + NavigationController.NavigationBar.Frame.Size.Height,
                                _frame.Width,
                                _frame.Height - NavigationController.NavigationBar.Frame.Size.Height);

            _anylineBarcodeView = new AnylineBarcodeModuleView(_frame);

            _error   = null;
            _success = _anylineBarcodeView.SetupWithLicenseKey(_licenseKey, Self, out _error);

            if (!_success)
            {
                (Alert = new UIAlertView("Error", _error.DebugDescription, (IUIAlertViewDelegate)null, "OK", null)).Show();
            }

            // Anyline will stop searching for new results once it found a valid code. Here we tell it to continue scanning
            // after it found and reported the result.
            _anylineBarcodeView.CancelOnResult = false;

            _anylineBarcodeView.BeepOnResult = true;

            // After setup is complete we add the module to the view of this view controller
            View.AddSubview(_anylineBarcodeView);

            // The resultLabel is used as a debug view to see the scanned results. We set its text
            // in anylineBarcodeModuleView:didFindScanResult:atImage below
            _resultLabel = new UILabel(new CGRect(0, View.Frame.Size.Height - 100, View.Frame.Size.Width, 50));

            _resultLabel.TextAlignment             = UITextAlignment.Center;
            _resultLabel.TextColor                 = UIColor.White;
            _resultLabel.Font                      = UIFont.FromName(@"HelveticaNeue-UltraLight", 22);
            _resultLabel.AdjustsFontSizeToFitWidth = true;

            View.AddSubview(_resultLabel);
        }