banchichen/TZImagePickerController

保存照片时出错,PLXPCDictionarySetArray unable to serialize array

zengshigang opened this issue · 4 comments

PLXPCDictionarySetArray unable to serialize array (
{
creationOptions = {
originalFilename = "";
shouldMoveFile = 1;
uniformTypeIdentifier = "";
};
data =

你好,请问你那里,Demo是正常的,是你的项目里有这个问题是吗?

这个链接或许可以帮到你:http://www.cocoachina.com/bbs/read.php?tid=1712751
建议排查一下...

还有可以参考下这个issue:#308
里面有一个使用中遇到了类似的问题,已经解决了。

还有个原因就是保存的时候[[PHAssetCreationRequest creationRequestForAsset] addResourceWithType:PHAssetResourceTypePhoto data:data options:options];
确保数据是UIImageJPEGRepresentation生成的JPEG的数据,PNG数据系统不识别。

iphone 6s 12.2版本 从微信电脑端传到手机图片保存在手机相册,微信提示保存成功,图片总数正确,使用
TZImagePickerController 上传照片时候,相机胶卷中不显示刚才保存的照片,返回一步 图片总数正确,