ios AssetHelper for cordova
使用方法
cordova plugin add https://github.com/qjloong/AssetHelper.git
example
//iOS获取相册全部资源
function getAssetsMetaInfo() {
navigator.AssetsHelper.getAllPhotos(function (res) {
$$console.log("Assets --------", res);
}, function (err) {
$$console.log("exportAsset --------", err);
});
}
//iOS 导出相册资源到沙盒
function exportFile(assetInfo) {
navigator.AssetsHelper.exportAsset(assetInfo, function (res) {
$$console.log("exportAsset --------", res);
}, function (err) {
});
}
-
Notifications
You must be signed in to change notification settings - Fork 1
ios AssetHelper for cordova
License
qjloong/AssetHelper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ios AssetHelper for cordova
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published