需要一些iPhone手机代码(将照片保存在你的照片中) [英] In need of some code for the iphone SDK (Save an in app picture to your photos)

查看:127
本文介绍了需要一些iPhone手机代码(将照片保存在你的照片中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发我的苹果应用程序商店的第一个应用程序,我需要代码才能看到图片并将其保存到照片中,也就是代码所在的位置,所以一些教程如何要将图片保存到照片应用程序,我正在使用最新版本的iPhone SDK。

Im working on my first app for the apple app store and I am in need of the code to be able to see a picture and save it to the photos, also where the code goes, so some what of a tutorial of how to save a picture to the photos app, I am working with the latest version of the iphone SDK.

推荐答案

UIImageWriteToSavedPhotosAlbum(image, self, (SEL)@selector(image:didFinishSavingWithError:contextInfo:), nil);

这是一个例子

这篇关于需要一些iPhone手机代码(将照片保存在你的照片中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆