 import TOCropViewController
 #endif
 
-open class DKImageExtensionPhotoCropper: DKImageBaseExtension, TOCropViewControllerDelegate {
+open class DKImageExtensionPhotoCropper: DKImageBaseExtension {
     
     open  weak var imageEditor: UIViewController?
     open  var metadata: [AnyHashable : Any]?

        self.didFinishEditing = didFinishEditing
        
        let imageCropper = TOCropViewController(image: image)
        imageCropper.delegate = self
        
        self.imageEditor = imageCropper
        

        self.imageEditor?.presentingViewController?.dismiss(animated: true, completion: nil)
    }
    
}
