     override func viewDidDisappear(_ animated: Bool) {
         super.viewDidDisappear(animated)
         
+        _updateDisplayViews(addition: false)
         _isViewDidAppear = false
     }
     

        
        UIDevice.current.beginGeneratingDeviceOrientationNotifications()
        NotificationCenter.default.addObserver(self, selector: #selector(_handleOrientationDidChange(_:)), name: .UIDeviceOrientationDidChange, object: nil)
        
        imagePickerController._captureDisplayQueue.async { [weak self] in
            guard let wself = self else { return }
            if !wself.imagePickerController._captureDisplayViews.contains(wself._captureDisplayView) {
                wself.imagePickerController._captureDisplayViews.append(wself._captureDisplayView)
            }
        }
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
    }
    
    override func viewDidAppear(_ animated: Bool) {

    fileprivate let _captureSessionQueue = DispatchQueue(label: "com.imagepicker.session")
    fileprivate var _captureDeviceInput: AVCaptureDeviceInput!
    fileprivate let _captureDisplayOutput = AVCaptureVideoDataOutput()
    fileprivate var _captureDisplayViews: Set<_CameraViewController.CaptureVideoDisplayView> = []
    fileprivate let _captureDisplayQueue = DispatchQueue(label: "com.imagepicker.display.render")
    fileprivate var _captureVideoPreviewView: _CameraViewController.CaptureVideoPreviewView!
    
    fileprivate var _lastSampleBuffer: CMSampleBuffer!
    
    fileprivate var imagesResult: ImagesResultHandler?
    
