Latest 1.0.6
Homepage https://github.com/zjjzmw1/ZMWImagePicker
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, CoreGraphics, UIKit, AssetsLibrary
Authors

类似微信选照片(根据需要修改了些)

用法:
在用的时候添加 #import "DNImagePickerController.h"

pragma mark – 选图片的方法

  • (void)buttonAction:(id)sender
    {
    DNImagePickerController *imagePicker = [[DNImagePickerController alloc] init];
    imagePicker.imagePickerDelegate = self;
    [self presentViewController:imagePicker animated:YES completion:nil];
    }

pragma mark – DNImagePickerControllerDelegate—-返回的代理。

  • (void)dnImagePickerController:(DNImagePickerController )imagePickerController sendImages:(NSArray )imageAssets isFullImage:(BOOL)fullImage imageArray:(NSArray *)imageArray
    {
    NSLog(@"imageArray======%@ /n fullImage===%d",imageArray,fullImage);
    }

  • (void)dnImagePickerControllerDidCancel:(DNImagePickerController *)imagePicker
    {
    [imagePicker dismissViewControllerAnimated:YES completion:^{

    }];
    }

Latest podspec

{
    "name": "ZMWImagePicker",
    "version": "1.0.6",
    "summary": "u7c7bu4f3cu5faeu4fe1u9009u7167u7247uff08u6839u636eu9700u8981u4feeu6539u4e86u4e9buff09",
    "description": "u7c7bu4f3cu5faeu4fe1u9009u7167u7247uff08u6839u636eu9700u8981u4feeu6539u4e86u4e9buff09",
    "homepage": "https://github.com/zjjzmw1/ZMWImagePicker",
    "license": "MIT",
    "authors": {
        "u5f20u660eu709c": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zjjzmw1/ZMWImagePicker.git",
        "tag": "1.0.6",
        "commit": "eb495071dfa25635bd972ccb3a4c29807661006c"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Classes/DNImagePicker/**/*",
    "resources": "Classes/**/*.png",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit",
        "AssetsLibrary"
    ]
}

Pin It on Pinterest

Share This