how to save the image on iPhone, in the gallery, in applications such as “wallpaper ” ?
Hi 🙂 i create app with wallpapers 🙂 but i dont know how to save my images in gallery 🙁 Help me please
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To save an image you can use this line of code:
There are also ways to check when the image is done saving, the full documentation can be found here: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIKitFunctionReference/Reference/reference.html
On newer iOS versions, it is required by Apple that in your info.plist you add a usage descriptor for the key
Privacy - Photo Library Additions Usage Description. (NSPhotoLibraryAddUsageDescription)