void BtnFlash_TouchUpInside(object sender, EventArgs e)
        {
            var enableTorch = CameraController.EnableTorch;

            BtnFlash.SetTitle(enableTorch ? "Flash On" : "Flash Off", UIControlState.Normal);
            CameraController.EnableTorch = enableTorch;
        }
        void ReleaseDesignerOutlets()
        {
            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }

            if (BtnFlash != null)
            {
                BtnFlash.Dispose();
                BtnFlash = null;
            }

            if (BtnCapture != null)
            {
                BtnCapture.Dispose();
                BtnCapture = null;
            }

            if (BtnFilter != null)
            {
                BtnFilter.Dispose();
                BtnFilter = null;
            }

            if (CameraController != null)
            {
                CameraController.Dispose();
                CameraController = null;
            }
        }