Commit d8a7e244 authored by yuzheng's avatar yuzheng

update demo

parent a13088a0
...@@ -355,6 +355,9 @@ ...@@ -355,6 +355,9 @@
// 设置是否显示图片序号 // 设置是否显示图片序号
imagePickerVc.showSelectedIndex = self.showSelectedIndexSwitch.isOn; imagePickerVc.showSelectedIndex = self.showSelectedIndexSwitch.isOn;
// 设置拍照时是否需要定位,仅对选择器内部拍照有效,外部拍照的,请拷贝手动把pushImagePickerController里定位方法的调用删掉
// imagePickerVc.allowCameraLocation = NO;
// 自定义gif播放方案 // 自定义gif播放方案
[[TZImagePickerConfig sharedInstance] setGifImagePlayBlock:^(TZPhotoPreviewView *view, UIImageView *imageView, NSData *gifData, NSDictionary *info) { [[TZImagePickerConfig sharedInstance] setGifImagePlayBlock:^(TZPhotoPreviewView *view, UIImageView *imageView, NSData *gifData, NSDictionary *info) {
FLAnimatedImage *animatedImage = [FLAnimatedImage animatedImageWithGIFData:gifData]; FLAnimatedImage *animatedImage = [FLAnimatedImage animatedImageWithGIFData:gifData];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment