Liu-Jing-Jing / WMVideo

仿微信录像和拍照,record Video and photo functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WMVideo

仿微信录像和拍照,record Video and photo functions exporter

源码地址

使用

        let vc = WMCameraViewController()
//        vc.inputType = .video
        vc.videoMaxLength = 20
        vc.completeBlock = { url, type in
            print("url == \(url)")
            //video
            if type == .video {
              //code
            }
            //image
            if type == .image {
                //code
                           
             }
        }
        present(vc, animated: true, completion: nil)

展示

image image image image

About

仿微信录像和拍照,record Video and photo functions


Languages

Language:Swift 100.0%