This iOS module extends the Ti SDK for saving images into custom photo album by @hank7444.
This moudle only have one method called addCustomAlbumAndSaveImage, can create
custom album(if the album does not exist) and save image.
Simply add the following lines to your tiapp.xml
file:
<modules>
<module version="0.2" platform="iphone">ti.customphotoalbum</module>
</modules>
and add this line in your app.js file:
require('ti.customphotoalbum');
addCustomAlbumAndSaveImage(image, albumName)
- params * image - image blob, * album - string albumName
- AssetsLibrary.framework
- MobileCoreServices.framework