Closed znnnnn closed 5 years ago
Ant Design 系列官网由于某些众所周知的原因无法访问,建议翻墙或访问国内镜像站点。
有link过吗?
是:react-native link @ant-design/icons-react-native
吗?这个link过了,在info.plist也有自动生成。
不是这个,要在iOS项目里面加入RCTCameraRoll https://github.com/ant-design/ant-design-mobile-rn/issues/90
非常感谢,已解决,抱歉由于电脑出了问题现在才测试完回复。 给楼下碰到相同问题的兄弟贴两个文档链接:
Reproduction link
https://github.com/znnnnn/weixiao_fe/blob/master/app/page/mine/SetImfomation.tsx
Steps to reproduce
官方文档挂了
左键点击imagePick便会报错:
create read property 'getPhotos' on undefined。
因为文档挂了,所以我即便使用了官方github仓库中的例子:官方Demo传送门,还是会报错:create read property 'getPhotos' on undefinedWhat is expected?
点击能够正常选择图片
What is actually happening?
error:create read property 'getPhotos' on undefined