         options.isNetworkAccessAllowed = true
         
         
-        //options.deliveryMode = .opportunistic
-        options.deliveryMode = .highQualityFormat
+        // loads one or more steps
+        options.deliveryMode = .opportunistic
+        
+        // only the highest quality available: only one call (!)
+        // deliverymode is ignored on requestimagedata (!) method
+        //options.deliveryMode = .highQualityFormat
         
         // latest version of the asset
         options.version = .current
         
         // only on async the handler is being requested
         // TODO: Warning isSync FALSE produces currently unwanted errors for image loading
-        options.isSynchronous = true
+        options.isSynchronous = false
         
         
         

        
        let asset: PHAsset = getAsset(atIndex: previewPosition)

        loadImage(asset: asset, resultHandler: { imageResult, infoArray in

            if(imageResult == nil){
                print("============= error loading image =========================")
                return
            }
            
            self.imageView2.image = imageResult
        })
    }

    

        view.addGestureRecognizer(tapRecognizer)
        
        
        
        
        
        
