/AlbumTool

一行代码保存照片或者视频到自己创建的相册中

Primary LanguageSwiftMIT LicenseMIT

AlbumTool

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

///需要创建的相册名称
AlbumTool.albumName = ""
///需要保存的视频路径
let url = URL(fileURLWithPath: urls!)
AlbumTool.shared.saveVideoToLibrary(with:url) { (isSuccess,     isError) in   
 ///成功和失败的信息
 
}

Requirements

Installation

AlbumTool is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AlbumTool'

Author

469994861@qq.com, 469994861@qq.com

License

AlbumTool is available under the MIT license. See the LICENSE file for more info.