All Projects → RainManGO → ZYimagePickerPodDemo

RainManGO / ZYimagePickerPodDemo

Licence: other
微信选择图片 微信照片选择器 微信照片浏览

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ZYimagePickerPodDemo

Wclimagepickercontroller
可自定义的图片选择器
Stars: ✭ 49 (+48.48%)
Mutual labels:  imagepicker
Awesomeimagepicker
Awesome Image Picker library will pick images/gifs with beautiful interface. Supports image or gif, Single and Multiple Image selection.
Stars: ✭ 160 (+384.85%)
Mutual labels:  imagepicker
RAImagePicker
📸 iMessage-like, Image Picker Controller Provides custom features.
Stars: ✭ 14 (-57.58%)
Mutual labels:  imagepicker
Picker
Picker - A CameraX based WhatsApp Style Image-Video Picker
Stars: ✭ 69 (+109.09%)
Mutual labels:  imagepicker
Ritlimagepickerdemo
一个基于Photos.framework的图片多选,模仿微信,还有很多不足,正在改进和优化
Stars: ✭ 124 (+275.76%)
Mutual labels:  imagepicker
Matisse
基于知乎Matisse增强,一行代码实现图片/视频选择,裁剪,微信同款视频录制和拍照,无需权限申请!
Stars: ✭ 174 (+427.27%)
Mutual labels:  imagepicker
Yimagepicker
小红书多图剪裁+微信图片选择器+大图预览+图片剪裁(支持圆形剪裁和镂空剪裁),已适配androidQ,借鉴并升级matisse加载内核!超强定制性可轻松实现知乎/马蜂窝/微博等特殊样式!支持跨进程回调!内部结构轻量级,无任何第三方开源库!支持support依赖!
Stars: ✭ 975 (+2854.55%)
Mutual labels:  imagepicker
PhotoSelectAndCrop
This package integrates a UIImagePickerController into a SwiftUI app. Obtain 1) a copy of the original image, 2) a scaled and / or cropped version of it, 3) a CGFloat and 4) CGPoint. The CGFloat and CGPoint represent the scale and position of the original image used to make the processed version.
Stars: ✭ 57 (+72.73%)
Mutual labels:  imagepicker
Cordova Plugin Mediapicker
cordova android ios mediaPicker support selection of multiple image and video gif ✨ cordova android 和 ios 图片视频选择cordova插件,支持多图 视频 gif,ui类似微信
Stars: ✭ 136 (+312.12%)
Mutual labels:  imagepicker
nativescript-imagepicker
Imagepicker plugin supporting both single and multiple selection.
Stars: ✭ 103 (+212.12%)
Mutual labels:  imagepicker
Rximagepicker
Android图片相册预览选择器、支持AndroidX,支持图片的单选、多选、图片预览、图片文件夹切换、在选择图片时调用相机拍照
Stars: ✭ 85 (+157.58%)
Mutual labels:  imagepicker
Gallery
📹 Your next favorite image and video picker
Stars: ✭ 1,320 (+3900%)
Mutual labels:  imagepicker
Zyimagepickerandbrower
2018iOS微信相册,朋友圈imagePicker UI仿,微信照片选择器 多选序号
Stars: ✭ 210 (+536.36%)
Mutual labels:  imagepicker
Rximagepicker
🚀RxJava2 and RxJava3 external support. Android flexible picture selector, provides the support for theme of Zhihu and WeChat (灵活的Android图片选择器,提供了知乎和微信主题的支持).
Stars: ✭ 1,098 (+3227.27%)
Mutual labels:  imagepicker
spartan-multi-image-picker
A Jquery multi image picker with preview (and madness)
Stars: ✭ 15 (-54.55%)
Mutual labels:  imagepicker
Pgimagepicker
类似于微博、微信的多图浏览/查看
Stars: ✭ 39 (+18.18%)
Mutual labels:  imagepicker
Opalimagepicker
A multiple image picker for iOS, written in Swift
Stars: ✭ 165 (+400%)
Mutual labels:  imagepicker
ImagePicker
Android image picker
Stars: ✭ 17 (-48.48%)
Mutual labels:  imagepicker
cordova-plugin-advanced-imagepicker
Cordova Plugin for an advanced (multiple) ImagePicker
Stars: ✭ 23 (-30.3%)
Mutual labels:  imagepicker
SSImagePicker
Easy to use and configurable library to Pick an image from the Gallery or Capture an image using a Camera... 📸
Stars: ✭ 227 (+587.88%)
Mutual labels:  imagepicker

ZYimagePickerPodDemo

ZYImagePickerAndBrower 是一个模仿微信相册多选照片的一个控件。注意了微信相册的一些细节,比如序号,最大选择之后照片变灰,浏览缩略图等等。 ZYImagePickerLayoutView 是相册选择之后的布局view库,单独拿出来做一个UI库,可选集成。

image image

Requirements

ZYImagePickerAndBrower 支持iOS8+

  • Photo.framework
  • UIKit.framework

Adding ZYImagePickerAndBrower to your project

CocoaPods

  1. Add a pod entry for ZYImagePickerAndBrower to your Podfile pod 'ZYImagePickerAndBrower', '~> 1.1.0'
  2. Add a pod entry for ZYImagePickerAndBrower to your Podfile pod 'ZYImagePickerLayoutView', '~> 0.1.7' 可选
  3. Install the pod(s) by running pod install.

功能支持

==============

  • 相册序号选择: 微信样式多选照片
  • 预览序号选择: 预览时可以序号选择
  • 预览缩略图和大图联动: 联动样式仿微信
  • 网络图片浏览: 有时需要处理服务器返回网络图片
  • 快速布局UI: 只需集成 ZYImagePickerLayoutView 可自动将照片布局

使用

设置主题颜色

ZYPhotoAlbumSkinColor = UIColor.orange

选照片

 let photoAlbumVC = ZYPhotoNavigationViewController(photoAlbumDelegate: self, photoAlbumType: .selectPhoto)    //初始化需要设置代理对象
        photoAlbumVC.maxSelectCount = 9   //最大可选择张数
        self.navigationController?.present(photoAlbumVC, animated: true, completion: nil)

ZYPhotoAlbumProtocol回调

 func photoAlbum(selectPhotos: [ZYPhotoModel]) {
        //选择的照片之后去layoutView显示
        let imageArray = selectPhotos.map { (model) -> UIImage in
            return model.thumbnailImage!
        }
        imagePickerView.dataSource = imageArray
        imagePickerView.numberOfLine = 4
        imagePickerView.reloadView()
        imagePickerView.addCallBack = { () in
            self.goPickerController()
        }
 }

预览图片: ZYPhotoModel支持url,image预览

 let photoPreviewVC = ZYPhotoPreviewDeleteViewController()
        photoPreviewVC.previewPhotoArray = self.selectIamgeArr        //传入预览源,为ZYPhotoModel数组,支持缩略图,原图和网络图
        photoPreviewVC.currentIndex = index                    //当前展示第几张
        photoPreviewVC.isAllowDelete = false
        self.navigationController?.pushViewController(photoPreviewVC, animated: true)

License

有问题issues,谢谢

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].