Skip to content

Custom Camera (photo & video)with Filters support zoom and flash

Notifications You must be signed in to change notification settings

mohshaat1990/CameraLib

Repository files navigation

CameraLib

  • Support Image and Video Capture
  • Video Capture long press
  • Support Zoom
  • Support Flash
  • Support Most types Of Filters

screen shot 2019-02-15 at 9 23 49 pm

screen shot 2019-02-15 at 9 48 57 pm

using pods

pod 'CameraLib', '~> 2.3'

Usage

   let cameraViewController = cameraEngine()

        cameraViewController.delegate = self

        cameraViewController.maximumVideoDurationLimit = 60

        cameraViewController.cameraPosition = .back

        cameraViewController.flashType = .on

        showCameraEngine(cameraEngineViewController: cameraViewController)

you should implement Delegate

extension ViewController: cameraEngineDelegate {
    func didSelect(videoUrl: URL, thumbnail: UIImage?) {
      
    }
    
    
    func didSelect(originalImage: UIImage, filteredImage: UIImage) {
        
    }
}

About

Custom Camera (photo & video)with Filters support zoom and flash

Resources

Stars

Watchers

Forks

Packages

No packages published