Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zengshigang opened this issue Jun 9, 2017 · 4 comments

Comments

@zengshigang
Copy link

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

@banchichen
Copy link
Owner

banchichen commented Jun 12, 2017

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

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

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

@banchichen
Copy link
Owner

#377

@Jorgezz
Copy link

Jorgezz commented Aug 30, 2018

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

@ddangPengf520
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants