Skip to content

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

License

Notifications You must be signed in to change notification settings

JackMayx/AlbumTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

[email protected], [email protected]

License

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published