![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react-native
爱忽悠的唐唐
有梦想的人,永远年少
展开
-
RN端ios全面屏刘海适配
项目中引入以下组件SafeAreaViewPlus.js 。可以自定义顶部和底部颜色。注意: 如果有用到 native-base 提供的headerTitle组件,下面文件中topArea的样式需改为height: 24, 如果没有用到,height:44/*** iPhone适配全面屏(iPhoneX)*/import React, {Component,} from 'react';import {DeviceInfo, SafeAreaView, StyleSheet, View, .原创 2021-01-20 10:07:25 · 1354 阅读 · 2 评论 -
react-native开发必备技巧
搭建环境下载android studio https://developer.android.google.cn/studio/index.htmlVSCode 搭建 React Native 环境https://www.cnblogs.com/hl1223/p/11049968.htmlhttps://blog.csdn.net/young_emily/article/details/790057283、连接夜神adb connect 127.0.0.1:620014、查看a原创 2020-05-14 09:32:02 · 322 阅读 · 0 评论 -
react-native 记录
重置watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache安卓报未连接虚拟机chmod 755 android/gradlew...原创 2018-12-15 16:07:40 · 142 阅读 · 0 评论 -
react-nativer入门学习之react-navigation
前言最近有项目需要用到react-native,苦于网上资料杂乱无序,在学习道路上走了很多弯路。那这个系列会记录一下我的学习过程,将我从零开始的入门学习心得和大家分享一下。希望大家能够快速入门,提高效率。react-navigation介绍...原创 2018-12-17 09:38:45 · 386 阅读 · 0 评论