Latest 0.2.8
License MIT
Platforms ios 7.0, requires ARC
Dependencies SVProgressHUD, PXPinnedRotation
Frameworks UIKit, AssetsLibrary, AVFoundation



Get images from the camera or photo library with one call. No delegates, no initialization.

[[PXCamera camera] getImageInViewController:self interface:PXCameraInterfaceCamera completion:^(UIImage * image, PXCameraImageSource source) {
    // boom! image and analytics data about where the image came from (camera or library)

// or 

[[PXCamera camera] getImageInViewController:self interface:PXCameraInterfaceLibrary completion:^(UIImage * image, PXCameraImageSource source) {


If you want to get a little bit more hands-on and make your own custom camera interface but don’t want to manage all the hassle of AVFoundation, check out PXCameraCaptureManager. This singleton provides a readonly UIView property cameraPreviewView that displays live camera output. From there, you can connect your custom UI to the other methods in the interface that allow you to control the various aspects of the camera (flash mode, preview orientation, front -facing or back-facing camera). Check out the PXCustomCameraViewController in the example project for a really basic example.

To run the example project, clone the repo, and run pod install from the Example directory first.


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

pod "PXCamera"


Daniel Blakemore, [email protected]


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

Latest podspec

    "name": "PXCamera",
    "version": "0.2.8",
    "summary": "A camera and photo library library with class methods for ease.",
    "description": "A couple of classes for presenting a camera that can pick from your photo library and a class for quickly prompting the user to pick from the photo library.nAdditionally, a class for easily controlling and managing a custom camera interface.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Daniel Blakemore": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.2.8"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PXCamera": [
    "public_header_files": [
    "frameworks": [
    "dependencies": {
        "SVProgressHUD": [],
        "PXPinnedRotation": []

Pin It on Pinterest

Share This