     override func viewWillAppear(_ animated: Bool) {
         super.viewWillAppear(animated)
     
-//        if let application = UIApplication.rsk_shared() {
-//            self.originalStatusBarHidden = application.isStatusBarHidden
-//            application.setStatusBarHidden(true, with: .fade)
-//        }
-        
-//        self.originalNavigationControllerNavigationBarHidden = (self.navigationController?.isNavigationBarHidden)!
-//        self.navigationController?.setNavigationBarHidden(true, animated: false)
-//        
-//        self.originalNavigationControllerNavigationBarShadowImage = self.navigationController?.navigationBar.shadowImage
-//        self.navigationController?.navigationBar.shadowImage = nil
     }
     
     override func viewDidAppear(_ animated: Bool) {

    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        
        avoidEmptySpaceAroundImage = false
        alwaysBounceVertical = false
        alwaysBounceHorizontal = false
        applyMaskToCroppedImage = false
        maskLayerLineWidth = 1.0
        rotationEnabled = false
        cropMode = .circle
        
        portraitCircleMaskRectInnerEdgeInset = 15.0
        portraitSquareMaskRectInnerEdgeInset = 20.0
        portraitMoveAndScaleLabelTopAndCropViewTopVerticalSpace = 64.0
        portraitCropViewBottomAndCancelButtonBottomVerticalSpace = 21.0
        portraitCropViewBottomAndChooseButtonBottomVerticalSpace = 21.0
        portraitCancelButtonLeadingAndCropViewLeadingHorizontalSpace = 13.0
        portraitCropViewTrailingAndChooseButtonTrailingHorizontalSpace = 13.0
        
        landscapeCircleMaskRectInnerEdgeInset = 45.0
        landscapeSquareMaskRectInnerEdgeInset = 45.0
        landscapeMoveAndScaleLabelTopAndCropViewTopVerticalSpace = 12.0
        landscapeCropViewBottomAndCancelButtonBottomVerticalSpace = 12.0
        landscapeCropViewBottomAndChooseButtonBottomVerticalSpace = 12.0
        landscapeCancelButtonLeadingAndCropViewLeadingHorizontalSpace = 13.0
        landscapeCropViewTrailingAndChooseButtonTrailingHorizontalSpace = 13.0

    }
    
    convenience init(image: UIImage) {
        self.init()
        
        self.originalImage = image;
        
    }
    
    convenience init(image: UIImage, cropMode: HHImageCropMode) {

    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
    
    }
    
    override func viewWillLayoutSubviews() {
