简体   繁体   English

iPhone-如何在iPhone相册中保存带有自定义名称的图像?

[英]iPhone - How to save image with custom name in iPhone album?

I am doing one application which is related to iPhone album and photos. 我正在做一个与iPhone相册和照片有关的应用程序。 My requirement is to save my UIImageView image in to the photo album with custom name for example "myImage.png". 我的要求是使用自定义名称(例如“ myImage.png”)将UIImageView图像保存到相册中。 I know how to save the photo in album but I need to know how to specify the custom name. 我知道如何将照片保存在相册中,但我需要知道如何指定自定义名称。

After saving the photo with custom name I need to get the photo with the same name when i select the same photo from the camera in my application. 保存具有自定义名称的照片后,当我从应用程序中的相机中选择相同的照片时,我需要获取具有相同名称的照片。 Right i am able to get the photo name when i select the photo, but for all the photo it is showing the photo as asset 2. What is the solution for this problem. 是的,当我选择照片时,我能够获得照片名称,但是对于所有照片,它将照片显示为资产2。解决此问题的方法是什么。 Thanks in advance. 提前致谢。

Refer iphone-camera-roll-picture-naming-reset-after-firmware-update link. 请参阅iphone-camera-roll-picture-naming-reset-firmware-update更新链接。 it shows how update images names. 它显示了如何更新图像名称。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM