Latest 1.2.8
Homepage https://github.com/lincf0912/LFImagePickerController
License MIT
Platforms ios 7.0, requires ARC
Dependencies LFMediaEditingController
Authors
  • 项目UI与资源方面部分使用TZImagePickerController项目,感谢分享。
  • 兼容非系统相册的调用方式
  • 支持Gif(压缩)、视频(压缩)、图片(压缩)
  • 图片编辑、视频编辑(依赖LFMediaEditingController库)
  • 支持iPhone、iPad 横屏
  • 详细使用见LFImagePickerController.h 的初始化方法

Installation 安装

  • CocoaPods:pod ‘LFImagePickerController’
  • 手动导入:将LFImagePickerControllerclass文件夹拽入项目中,导入头文件:#import "LFImagePickerController.h"

调用代码

  • LFImagePickerController *imagePicker = [[LFImagePickerController alloc] initWithMaxImagesCount:9 delegate:self];
  • //根据需求设置
  • imagePicker.allowTakePicture = NO; //不显示拍照按钮
  • imagePicker.doneBtnTitleStr = @"发送"; //最终确定按钮名称
  • [self presentViewController:imagePicker animated:YES completion:nil];

图片展示

image

Latest podspec

{
    "name": "LFImagePickerController",
    "version": "1.2.8",
    "summary": "A clone of UIImagePickerController, support picking multiple photosu3001 video and edit photo",
    "homepage": "https://github.com/lincf0912/LFImagePickerController",
    "license": "MIT",
    "authors": {
        "lincf0912": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/lincf0912/LFImagePickerController.git",
        "tag": "1.2.8",
        "submodules": true
    },
    "requires_arc": true,
    "resources": "LFImagePickerController/LFImagePickerController/class/*.bundle",
    "source_files": [
        "LFImagePickerController/LFImagePickerController/class/*.{h,m}",
        "LFImagePickerController/LFImagePickerController/class/**/*.{h,m}"
    ],
    "public_header_files": [
        "LFImagePickerController/LFImagePickerController/class/*.h",
        "LFImagePickerController/LFImagePickerController/class/manager/*.h",
        "LFImagePickerController/LFImagePickerController/class/model/*.h",
        "LFImagePickerController/LFImagePickerController/class/model/**/*.h",
        "LFImagePickerController/LFImagePickerController/class/define/LFImagePickerPublicHeader.h"
    ],
    "dependencies": {
        "LFMediaEditingController": []
    },
    "subspecs": [
        {
            "name": "LFGifPlayer",
            "source_files": "LFImagePickerController/LFImagePickerController/vendors/LFGifPlayer/*.{h,m}",
            "public_header_files": "LFImagePickerController/LFImagePickerController/vendors/LFGifPlayer/LFGifPlayerManager.h"
        },
        {
            "name": "LFToGIF",
            "source_files": "LFImagePickerController/LFImagePickerController/vendors/LFToGIF/*.{h,m}",
            "public_header_files": "LFImagePickerController/LFImagePickerController/vendors/LFToGIF/LFToGIF.h"
        }
    ]
}

Pin It on Pinterest

Share This