         }
     }
     
+    @IBAction func longPressToCallActionSheet(_ sender: UITapGestureRecognizer) {
+        
+        print("long press")
+        
+        let alert = UIAlertController(
+            title: "Image",
+            message: "An Image",
+            preferredStyle: .actionSheet
+        )
+        
+        alert.addAction(UIAlertAction(title: "Save To Camera Roll", style: .default) { (alertAction) in })
+        alert.addAction(UIAlertAction(title: "Copy Link", style: .default) { (alertAction) in })
+        alert.addAction(UIAlertAction(title: "Copy Image", style: .default) { (alertAction) in })
+        alert.addAction(UIAlertAction(title: "Cancel", style: .cancel) { (alertAction) in })
+        
+        present(alert, animated: true, completion: nil)
+    }
+    
 
     
     // MARK - Life Cycle

        presentingViewController?.dismiss(animated: true)
    }
    
//    private func blur() {
//        let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.extraLight)
//        let blurEffectView = UIVisualEffectView(effect: blurEffect)
//        blurEffectView.frame = view.bounds
//        blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
//        view.addSubview(blurEffectView)
//    }
}

extension ImageViewerViewController: UIScrollViewDelegate {

             unless zoom it first.
             So this is a simple yet valid workaround
             */
            
            let longPress = UILongPressGestureRecognizer(target: self, action: #selector(longPressToCallActionSheet(_:)))
            scrollView.addGestureRecognizer(longPress)
        }
    }
    
