Skip to content

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

Notifications You must be signed in to change notification settings

WMSmile/WMVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

WMVideo

仿微信录像和拍照,record Video and photo functions exporter 版本支持iOS11.0+ 版本支持iOS9.0+ 版本1.0.0

源码地址

使用

        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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages