         
         self.presentViewController(picker, animated: true, completion: nil)
     }
-    
     
     private func showCamera() {
         let status = AVCaptureDevice.authorizationStatusForMediaType(AVMediaTypeVideo)

    func imagePickerController(picker: UIImagePickerController!, didFinishPickingImage image: UIImage!, editingInfo: NSDictionary!) {
        let selectedImage : UIImage = image
        picker.dismissViewControllerAnimated(true, completion: { [weak self] in
            let cropper = RSKImageCropViewController(image:selectedImage, cropMode:RSKImageCropMode.Square)
            cropper.delegate = self
            self?.presentViewController(cropper, animated: true, completion: nil)
            })
    }
    
    func imagePickerControllerDidCancel(picker: UIImagePickerController) {

            break
        }
    }
    
    private func showAlertForImagePickerPermission() {
        let message = "If you want to use camera, you should allow app to use.\nPlease check your permission"
