相片库外挂程式在iOS 13版中当机 [英] Photo-library plugin crash in ios version 13

查看:55
本文介绍了相片库外挂程式在iOS 13版中当机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已转贴:问题链接

当用户想要从ionic 3库中获取图像时,app崩溃.

app crashes when the user wants to fetch images from the library in ionic 3.

图像选择器插件在iOS 12中可以正常工作.但是在更新后到iOS 13,它崩溃了.

image picker plugin works fine in iOS 12. But after updating to iOS 13, it is crashing.

它可以在iPhone X上运行,但是在iPad上尝试时却收到上面给出的链接中的错误.

it is working in iPhone X but when trying it on iPad it's getting the error which is in the link given above.

有人可以帮忙吗?提前致谢!

can anyone help with this? Thanks in advance!

推荐答案

只需在ImagePicker选项中添加属性即可:

Just add property in ImagePicker options:

disable_popover: true

它将解决崩溃的问题.但是错误仍然会出现在日志中! 编码愉快!

It will solve the crashing issue.But the error still would be there in logs! Happy coding!!!

这篇关于相片库外挂程式在iOS 13版中当机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆