Can I overwrite a photo from a camera?

I wonder if it is possible in iOS 8 to rewrite Camera Roll to snapshots after making some changes? If so, is there any example code that rewrites photos?

+3


source to share


1 answer


As far as I know, you are not allowed to rewrite the camera roll (or really internal data) on an iOS device in Swift or Objective-C. This is to eliminate apps in the app store that are detrimental to the user experience or detrimental to the iOS system.

However, in iOS 8, you can use an extension in the photos app to edit photos directly (if you have custom filters or whatever). This is native to the photography app, not your app.



This is a great article on how to do it: http://www.appcoda.com/photo-editing-extensions/

Hope it helped!

+1


source







All Articles