             }
         }
     }
-
+    
     public convenience init(originImage: UIImage, photos: [AnyObject], animatedFromView: UIView) {
         self.init(nibName: nil, bundle: nil)
         self.senderOriginImage = originImage

                let alpha: CGFloat = hidden ? 0.0 : 1.0
                self.toolBar.alpha = alpha
                self.toolBar.frame = hidden ? self.frameForToolbarHideAtOrientation() : self.frameForToolbarAtOrientation()
                self.doneButton.alpha = alpha
                self.doneButton.frame = hidden ? self.doneButtonHideFrame : self.doneButtonShowFrame
                if self.displayDeleteButton == true {
                    self.deleteButton.alpha = alpha
                    self.deleteButton.frame = hidden ? self.deleteButtonHideFrame : self.deleteButtonShowFrame

    public var disableVerticalSwipe: Bool = false
    public var isForceStatusBarHidden: Bool = false
    public var displayDeleteButton = false
    public var displayCloseButton = true // default is true
    
    // actions
    private var activityViewController: UIActivityViewController!
    
