In need of some code for the iphone SDK (Save an in app picture to your photos)

ぐ巨炮叔叔 提交于 2019-12-13 03:19:14

问题


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.


回答1:


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

Here's an example.




回答2:


Referring "iPhone cookbook" by Erica Sadun



来源:https://stackoverflow.com/questions/4012234/in-need-of-some-code-for-the-iphone-sdk-save-an-in-app-picture-to-your-photos

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!