Latest 1.1.8
Homepage https://github.com/dinhcong/ALCameraViewController
License MIT
Platforms ios 8.0, requires ARC
Authors

ALCameraViewController

A camera view controller with custom image picker and image cropping. Written in Swift.

camera
cropper
library
permissions

Features

  • Front facing and rear facing camera support
  • Simple and clean look
  • Custom image picker with permission checking
  • Image cropping (square only)
  • Flash light support

Installation & Requirements

This project requires Xcode 7 to run and compiles with swift 2.0

ALCameraViewController is available on CocoaPods. Add the following to your Podfile:

pod 'ALCameraViewController'

Usage

To use this component couldn’t be simpler.

In your viewController


let croppingEnabled = true
let cameraViewController = ALCameraViewController(croppingEnabled: croppingEnabled) { image in
    // Do something with your image here. 
    // If cropping is enabled this image will be the cropped version
}

presentViewController(cameraViewController, animated: true, completion: nil)

License

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

Latest podspec

{
    "name": "dinhcong.ALCameraViewController",
    "version": "1.1.8",
    "summary": "A camera view controller with custom image picker and image cropping. Written in Swift.",
    "source": {
        "git": "https://github.com/dinhcong/ALCameraViewController.git",
        "tag": "1.1.8"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "license": "MIT",
    "source_files": "ALCameraViewController/**/*.{swift}",
    "resources": [
        "ALCameraViewController/ViewController/ConfirmViewController.xib",
        "ALCameraViewController/ALCameraViewAssets.xcassets",
        "ALCameraViewController/CameraView.strings"
    ],
    "homepage": "https://github.com/dinhcong/ALCameraViewController",
    "authors": {
        "Cong Dinh": "[email protected]"
    }
}

Pin It on Pinterest

Share This