选择相册和拍照 支持多种裁剪

2017-09-07  本文已影响0人  朱云龙

https://github.com/February12/YLImagePickerController

0.png 1.png 2.png 3.png

/// ["单选不裁剪","单选方形裁剪","单选圆形裁剪","多选","拍照不裁剪","拍照方形裁剪"]
imagePicker = YLImagePickerController.init(imagePickerType: ImagePickerType.album, cropType: CropType.none) imagePicker = YLImagePickerController.init(imagePickerType: ImagePickerType.album, cropType: CropType.square)
imagePicker = YLImagePickerController.init(imagePickerType: ImagePickerType.album, cropType: CropType.circular)
imagePicker = YLImagePickerController.init(maxImagesCount: 3)
imagePicker = YLImagePickerController.init(imagePickerType: ImagePickerType.camera, cropType: CropType.none)
imagePicker = YLImagePickerController.init(imagePickerType: ImagePickerType.camera, cropType: CropType.square)

上一篇下一篇

猜你喜欢

热点阅读