摘要:
import { Animated, } from 'react-native'; constructor(props){ super(props) this.state={ fadeInOpacity: new Animated.Value(0), // 初始值 } } componentDidMount(){... 阅读全文
摘要:
然后把fonts文件夹拖到iOS工程目录下 然后这个样子 然后在info.plist 里面 阅读全文
摘要:
改app的名字 创建图标 创建启动图 new 完之后 以下是各机型对应启动图的大小 Retina4 640*1136 RetinaHD5.5 1242*2208 Plus 6\7\8 RetinaHD4.7 750*1334 S 6\7\8 iPhoneX/XS 1125*2436 iPhoneXS 阅读全文
摘要:
xcode升级到10,初始化rn为0.57.1版本的项目编译和运行都有坑 第一个坑: 解决方式 终端cd 到项目文件 执行以下命令 第二个坑: 运行的时候出现下面的情况 解决方式: 在项目目录下 终端执行 阅读全文
摘要:
judgeduplicatelianxiren(arr){ var s = new Set() arr.forEach(i => s.add(i.custPhone)) if(arr.length !== s.size) { return true }else{ return false } } 阅读全文
摘要:
rn版本0.55.4 yarn add react-native-linear-gradient 然后 react-native link react-native-linear-gradient 如果run-andorid 会报如下错误 可以通过如下方式解决 阅读全文
摘要:
rn版本 0.55.4 这个版本试了多次发现对应react native splash screen为3.0.9的最好 yarn add react native splash screen@3.0.9 然后react-native link react-native-splash-screen 然 阅读全文
摘要:
rn 0.55.4 yarn add react-native-baidu-map react-native link react-native-baidu-map 把这个override去掉 添加依赖的时候改成这个样子 阅读全文
摘要:
点这里,这篇文章写的不错,我就是记录一下 阅读全文
摘要:
没什么好说的,推荐一篇文章https://www.jianshu.com/p/eceb7e66fa5e?appinstall=0, 这里面写的挺好的,就是做完之后,有一些遇到的小问题补充一下, 我的rn版本是0.55.4,按照步骤集成完之后,xcode运行编译 Redefinition of 'RC 阅读全文