     func videoFinished(withFileURL fileURL: URL) {
         
         delegate?.fusumaVideoCompleted(withFileURL: fileURL)
-        self.dismiss(animated: true, completion: nil)
+        self.doDismiss(completion: nil)
     }
     
 }

public var fusumaCameraTitle     = "Photo"
public var fusumaVideoTitle      = "Video"
public var fusumaTitleFont       = UIFont(name: "AvenirNext-DemiBold", size: 15)

@objc public enum FusumaMode: Int {
    

                
                if asset == self.albumView.selectedAssets.last {
                    
                    self.doDismiss {

                        self.delegate?.fusumaMultipleImageSelected(images, source: self.mode)
                    }
                }
            }
