luowei / LWPhotoPicker

LWPhotoPicker,照片选择器,支持保留宽高比与固定宽高比两种类型选择视图.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LWPhotoPicker

CI Status Version License Platform

Example

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

LWPhotoPickerView *photoPickerView = [LWPhotoPickerView photoPickerWithFrame:skinSettingPopView.bounds];
[skinSettingPopView addSubview:photoPickerView];
photoPickerView.pickerDelegate = self;
[photoPickerView mas_makeConstraints:^(MASConstraintMaker *make) {
    make.edges.equalTo(skinSettingPopView).with.insets(UIEdgeInsetsMake(0, 0, 0, 0));
}];

//in block
[weakSelf.pickerDelegate pickView:(LWPhotoPickerView *)weakSelf didSelectItem:cell];

Requirements

Installation

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

pod 'LWPhotoPicker'

Carthage

github "luowei/LWPhotoPicker"

Author

luowei, luowei@wodedata.com

License

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

About

LWPhotoPicker,照片选择器,支持保留宽高比与固定宽高比两种类型选择视图.

License:MIT License


Languages

Language:Objective-C 90.8%Language:Ruby 5.1%Language:Shell 4.1%