         } else {
             showNetworkErrorAlertController()
         }
+        isShowingUI = true
     }
     
     private func showNetworkErrorAlertController() {

    
    var typeOfImagePresented: TypeOfImagePresented = .sample
    
    var isShowingUI: Bool = true
    
    var isZoomedMax: Bool {
        return scrollView.zoomScale == scrollView.maximumZoomScale

    
    func tapGestureTriggered(sender: UITapGestureRecognizer) {
        isShowingUI = !isShowingUI
    }
    
    func doubleTapGestureTriggered(sender: UITapGestureRecognizer) {
