Skip to content

lotterfriends/saveToPhotolibrary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple plugin to handle save image to user library on iOS

Fork from https://github.com/mrPalm/saveToPhotolibrary

1 step install

cordova plugin add cordova-ios-photo-library

Usage

You do not need to reference any JavaScript, the Cordova plugin architecture will add a socialmessage object to your root automatically when you build.

Ensure you use the plugin after your deviceready event has been fired.

Save image from URL or path (path is relative to the application root)

window.ImageHelper.saveToUserLibrary(imageUrl, successCallback, failCallback);

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 78.1%
  • JavaScript 21.9%