TZImagePickerController如何选择gif图片并上传

  • 内容
  • 评论
  • 相关

    [imagePickerVc setDidFinishPickingGifImageHandle:^(UIImage *animatedImage, id sourceAssets) {
        [[TZImageManager manager] getOriginalPhotoDataWithAsset:sourceAssets completion:^(NSData *data, NSDictionary *info, BOOL isDegraded) {
//            self.imageView.image = [UIImage sd_tz_animatedGIFWithData:data];
            self.gifData = data;
            self.topCell.headImageView.image = [UIImage sd_tz_animatedGIFWithData:data];
        }];
        [self addImageDone:animatedImage isGif:YES];
    }];

评论

0条评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注