Latest 0.1.1
Homepage https://github.com/dima-u/MTPhotoPicker
License MIT
Platforms ios 7.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Ulyanov Dmitry/MTPhotoPicker.svg?style=flat)](https://travis-ci.org/Ulyanov Dmitry/MTPhotoPicker)
Version
License
Platform

MTPhotoPicker is an imessage style photo picker for your application with customization and rotation support

Features

  • automatically parse photolibrary
  • you can customize buttons/add your own
  • smooth animation and iMessage style design
  • support screen rotation

ScreenShots

enter image description here

Usage

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

or

create photo picker object

MTPhotoPicker * _pickerView = [MTPhotoPicker pickerWithTitle:@"Choose Photo" alternateTitle:@"Attach photos (%ld)" otherTitles:@[@"Choose video",@"Capture"] cancelTitle:@"Cancel"];

implement delegate methods

#pragma mark - MTPhotoPickerDelegate
-(BOOL)photoPickerShouldDismissWithAssets:(NSArray *)assets{
    return YES;
}

-(void)photoPickerAssetsSelected:(NSArray *)assets{
    //use ALAsset array
}

-(void)photoPickerDidDismiss{

    _pickerView = nil;

}

-(void)photoPickerButtonItemClicked:(NSInteger)itemInedx{
    //handle custom  buttons click
}

Show picker

[_pickerView loadAssets:^{       
    [self.pickerView showInView:self.view];
}];

Requirements

Installation

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

pod "MTPhotoPicker"

Author

Ulyanov Dmitry, [email protected]

License

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

Latest podspec

{
    "name": "MTPhotoPicker",
    "version": "0.1.1",
    "summary": "iMessage style photopicker with visual effects.",
    "description": "PhotoPicker allows you to integrate imessage style photo selection view in a several lines of code",
    "homepage": "https://github.com/dima-u/MTPhotoPicker",
    "screenshots": "https://raw.githubusercontent.com/dima-u/MTPhotoPicker/master/Screenshots/example.gif",
    "license": "MIT",
    "authors": {
        "Ulyanov Dmitry": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dima-u/MTPhotoPicker.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": [
        "Pod/Classes/**/*"
    ],
    "resources": [
        "Pod/Assets/**/*"
    ]
}

Pin It on Pinterest

Share This