落叶随风将要去何方

摘要: import { Animated, } from 'react-native'; constructor(props){ super(props) this.state={ fadeInOpacity: new Animated.Value(0), // 初始值 } } componentDidMount(){... 阅读全文
posted @ 2018-11-09 15:12 木子飞2 阅读(994) 评论(0) 推荐(0) 编辑
摘要: 然后把fonts文件夹拖到iOS工程目录下 然后这个样子 然后在info.plist 里面 阅读全文
posted @ 2018-11-05 18:39 木子飞2 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 改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 阅读全文
posted @ 2018-11-05 16:48 木子飞2 阅读(742) 评论(0) 推荐(0) 编辑
摘要: xcode升级到10,初始化rn为0.57.1版本的项目编译和运行都有坑 第一个坑: 解决方式 终端cd 到项目文件 执行以下命令 第二个坑: 运行的时候出现下面的情况 解决方式: 在项目目录下 终端执行 阅读全文
posted @ 2018-11-05 11:25 木子飞2 阅读(540) 评论(0) 推荐(0) 编辑
摘要: judgeduplicatelianxiren(arr){ var s = new Set() arr.forEach(i => s.add(i.custPhone)) if(arr.length !== s.size) { return true }else{ return false } } 阅读全文
posted @ 2018-10-26 17:39 木子飞2 阅读(749) 评论(0) 推荐(0) 编辑
摘要: rn版本0.55.4 yarn add react-native-linear-gradient 然后 react-native link react-native-linear-gradient 如果run-andorid 会报如下错误 可以通过如下方式解决 阅读全文
posted @ 2018-10-11 16:31 木子飞2 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 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 然 阅读全文
posted @ 2018-10-11 15:41 木子飞2 阅读(193) 评论(0) 推荐(0) 编辑
摘要: rn 0.55.4 yarn add react-native-baidu-map react-native link react-native-baidu-map 把这个override去掉 添加依赖的时候改成这个样子 阅读全文
posted @ 2018-09-28 16:46 木子飞2 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 点这里,这篇文章写的不错,我就是记录一下 阅读全文
posted @ 2018-09-12 09:53 木子飞2 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 没什么好说的,推荐一篇文章https://www.jianshu.com/p/eceb7e66fa5e?appinstall=0, 这里面写的挺好的,就是做完之后,有一些遇到的小问题补充一下, 我的rn版本是0.55.4,按照步骤集成完之后,xcode运行编译 Redefinition of 'RC 阅读全文
posted @ 2018-09-11 14:27 木子飞2 阅读(249) 评论(0) 推荐(0) 编辑

只留给天空美丽一场