Skip to content

MengTaoTech/MTPhotoBroswer

Repository files navigation

MTPhotoBroswer

CI Status Version License Platform

MTPhotoBroswer是一个方便查看完整图片、视频的框架。

Use

// 单图
let vc = MTAssetBroswerViewController(image: image)
// let vc = MTAssetBroswerViewController(url: imageurl)

/// 当前点击的视图
vc.presentingImageView = imageView
present(vc, animated: false, completion: nil)

Effect

Requirements

iOS 12.4+
Swift 5.0+

Dependency

SnapKit
Kingfisher

Installation

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

pod 'MTPhotoBroswer'

Author

cycweeds, cycweeds@gmail.com

License

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