Skip to content

Commit d8a7e24

Browse files
author
yuzheng
committed
update demo
1 parent a13088a commit d8a7e24

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

TZImagePickerController/ViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ - (void)pushTZImagePickerController {
355355
// 设置是否显示图片序号
356356
imagePickerVc.showSelectedIndex = self.showSelectedIndexSwitch.isOn;
357357

358+
// 设置拍照时是否需要定位,仅对选择器内部拍照有效,外部拍照的,请拷贝手动把pushImagePickerController里定位方法的调用删掉
359+
// imagePickerVc.allowCameraLocation = NO;
360+
358361
// 自定义gif播放方案
359362
[[TZImagePickerConfig sharedInstance] setGifImagePlayBlock:^(TZPhotoPreviewView *view, UIImageView *imageView, NSData *gifData, NSDictionary *info) {
360363
FLAnimatedImage *animatedImage = [FLAnimatedImage animatedImageWithGIFData:gifData];

0 commit comments

Comments
 (0)