简体   繁体   English

自定义相册中的图像保存问题以及iPhone中的默认相机胶卷

[英]Image save issue in custom album as well as default Camera Roll in iphone

I want to save image in Custom Album from my App. 我想从我的应用程序将图像保存到“ Custom Album i know it possible in iOS 5 and up. 我知道在iOS 5及更高iOS 5可能。

i am done with this functionality with the reference link 我已经通过参考链接完成了此功能

From the reference link image save successfully in Custom Album but issue is that image Save in Custom Album as well as Camera roll . 从参考链接图像成功保存到“ Custom Album但问题是该图像Save in Custom Album as well as Camera roll How can i ignore to save in Two folder ? 如何忽略保存在“两个”文件夹中?

any one have idea about that ? 有人对此有想法吗? Thanks in Advance !!! 提前致谢 !!!

You use the UIImageWriteToSavedPhotosAlbum() function. 您使用UIImageWriteToSavedPhotosAlbum()函数。

//ViewController.m
- (IBAction)onClickSavePhoto:(id)sender{

    UIImageWriteToSavedPhotosAlbum(imageToBeSaved, nil, nil, nil);
}

Found this in Stackoverflow :) How can I save an image to the camera roll? 在Stackoverflow中发现了这个问题:) 如何将图像保存到相机胶卷中?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 保存多个图像在ios5中的自定义相册中,而不是在相机胶卷中? - save multiple images in custom album in ios5 but not in camera roll? 使用自定义名称将照片保存到iphone相机胶卷 - Save photo to iphone camera roll with a custom name 将iPhone相机中的图像直接保存到文档文件夹而不是相机胶卷? - Save image from iPhone camera directly to documents folder and not to camera roll? iPhone - 如何以编程方式创建自定义相册并为相机胶卷中的照片指定自定义名称? - iPhone - How to create a custom album and give custom names to photos in camera roll programmatically? iPhone-如何在iPhone相册中保存带有自定义名称的图像? - iPhone - How to save image with custom name in iPhone album? 通过writeImageToSavedPhotosAlbum:metadata:completionBlock:保存时,可以将图像与相机胶卷一起保存到特定相册吗? - Can I save an image to a specific album with the camera roll when saving via writeImageToSavedPhotosAlbum:metadata:completionBlock:? 使用UIImageWriteToSavedPhotosAlbum将图像保存到相机胶卷 - Save image to camera roll with UIImageWriteToSavedPhotosAlbum 如何以编程方式将图像保存在 iPhone 的相机胶卷中? - How to save images in camera roll in iphone programmatically? 从iPhone相机胶卷获取图像 - Getting an image from the iPhone camera roll 如何将图像保存到相机胶卷? - How can I save an image to the camera roll?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM