Latest 0.0.1
Homepage https://github.com/Bingle0907/ATPhotoManager
License MIT
Platforms ios 8.0
Authors

ATImagePickerViewController

照片选择器(仿微信)

使用

使用方式与系统的 UIImagePickerController 一致
打开照片选择器

ATImagePickerViewController *imagePicker = [[ATImagePickerViewController alloc] init];
// 设置代理
imagePicker.atDelegate = self;
[self presentViewController:imagePicker animated:YES completion:^{

}];

代理回调

#pragma mark - ATImagePickerViewControllerDelegate

- (void)atImagePickerController:(ATImagePickerViewController *)picker didFinishPickingImages:(NSArray<UIImage *> *)images
{
    NSLog(@"图片数量----%ld",images.count);
}

- (void)atImagePickerControllerDidCancel:(ATImagePickerViewController *)picker
{
    NSLog(@"关闭");
}

Installation

CocoasPod

pod ‘ATPhotoManager’

Latest podspec

{
    "name": "ATPhotoManager",
    "version": "0.0.1",
    "summary": "u57fau4e8e PhotoKit u6846u67b6u7684u76f8u518cu6570u636eu6e90u7ba1u7406u5668",
    "homepage": "https://github.com/Bingle0907/ATPhotoManager",
    "license": "MIT",
    "authors": {
        "Xiaobin Zhou": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Bingle0907/ATPhotoManager.git",
        "tag": "0.0.1"
    },
    "source_files": "ATPhotoManager/*"
}

Pin It on Pinterest

Share This