   internal weak var controller: UIViewController?
   
   var imagePicker: UIImagePickerController!
-  func presentImagePicker(_ sourceType: UIImagePickerControllerSourceType, topController: UIViewController!) {
+  func presentImagePicker(_ sourceType: UIImagePickerController.SourceType, topController: UIViewController!) {
     imagePicker = UIImagePickerController()
     imagePicker.sourceType = sourceType
     imagePicker.delegate = self

        initialRequestOptions.resizeMode = .fast
        initialRequestOptions.deliveryMode = .fastFormat
        
        manager.requestImageData(for: asset!, options: initialRequestOptions) { (data: Data?, title: String?, orientation: UIImageOrientation, info: [AnyHashable: Any]?) -> () in
          guard let dataImage = data else {
            errorHandler(.other)
            return

  
  open var disableEntitlements: Bool = false
  
  open var cameraDevice: UIImagePickerController.CameraDevice = .rear
  
  open var cameraFlashMode: UIImagePickerController.CameraFlashMode = .auto
  
  open var resizeImage: CGSize?
  
