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];
LWPhotoPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LWPhotoPicker'
Carthage
github "luowei/LWPhotoPicker"
luowei, luowei@wodedata.com
LWPhotoPicker is available under the MIT license. See the LICENSE file for more info.