[ios] Use UIImageWriteToSavedPhotosAlbum() to save photos.
Starting with iOS 11, apps can ask for write-only access to photos. This CL switches ImageSaver to use the new write-only API. It also removes calls to the read-write PHPhotoLibrary APIs and removes code that checks the photos authorization state, since there is no way to check the value of the write-only permission in advance. BUG=1102479 Change-Id: I245149c8480e9e02fa0c6218aa652bd26c9f7c5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283654 Commit-Queue: Rohit Rao <rohitrao@chromium.org> Reviewed-by:Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#785779}
Showing
Please register or sign in to comment