Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 函数的隐式声明';UIImageWriteToSavedPhotosAlbum';在C99中无效_Ios_Objective C - Fatal编程技术网

Ios 函数的隐式声明';UIImageWriteToSavedPhotosAlbum';在C99中无效

Ios 函数的隐式声明';UIImageWriteToSavedPhotosAlbum';在C99中无效,ios,objective-c,Ios,Objective C,我想将图像保存到apple Watch中的相机卷 这是我的代码: UIImage *image = [UIImage imageNamed:@"w0-1.jpg"]; UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil); 您能帮我吗???您无法将图像保存到已保存的相册中。您只能将图像保存到应用程序文件夹。如何保存图像可能会有所帮助?用UIImageJPEG表示?

我想将图像保存到apple Watch中的相机卷

这是我的代码:

UIImage *image = [UIImage imageNamed:@"w0-1.jpg"];
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil);

您能帮我吗???

您无法将图像保存到已保存的相册中。您只能将图像保存到应用程序文件夹。

如何保存图像可能会有所帮助?用UIImageJPEG表示?