Base64 image to save gallery in IOS

what I dont’ get is that I get screenshot well , it’s base64 string image.
so I foundbase64ToGallery plugin and going to use it.
it callbacked success, but the problem is that
it says it saved to file path like but can’t find it on gallery folder…
how can I save base64image to gallery in ios…?

$scope.savetophone = function(){
			navigator.screenshot.URI(function(error,res){
				if(error){
					console.error(error);
				}else{
					var params = {data: res.URI, prefix: 'myPrefix_', format: 'JPG', quality: 80, mediaScanner: true};
					cordova.base64ToGallery(
						res.URI,
				
						{
							prefix: 'img_',
							mediaScanner: true
						},
				
						function(path) {
							
							window.alert(path);
							console.log(path);
						},
				
						function(err) {
							window.alert(err);
							console.error(err);
						}
					);
			
			
				 }
			}, 'jpg', 50);

		}