自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 react-native TextInput组件在模拟器Simulator上鼠标聚焦后键盘不弹出

如题,react-native的TextInput组件在模拟器Simulator上鼠标聚焦后键盘不弹出 <TextInput style={styles.inputItem} onChangeText={text => { const newText = text.rep...

2020-02-25 00:10:17 879

原创 XCode react-native 添加iconfont字体 在info.plist配置中找不到Fonts provided by application

接下来在iOS 添加自定义的字体 Fonts provided by application参考:https://blog.csdn.net/wyy520pro/article/details/53587853?locationNum=10&fps=1

2020-02-20 21:18:17 580

原创 react-native 如何修改手机app上状态栏的颜色(默认黑色)

react-native 有提供一个组件StatusBar,可以变更状态栏的文字和字体图标的颜色import { StatusBar, Platform,} from 'react-native';{Platform.OS === 'ios' ? ( <StatusBar barStyle={'light-content'} /> ...

2020-02-19 16:36:24 2393 1

原创 XCode10 error: multiple commands produce...

问题如下:解决办法:在XCode下,点击File->Project Settings->Build System从原本的New Build System(Default)切换成Legacy build system。

2020-02-19 11:04:30 243

原创 ios模拟器 remote debugger时报错TypeError: window.deltaUrlToBlobUrl is not a function

如果在模拟器调试的时候浏览器的控制台报下面的错(index):222 Uncaught (in promise) TypeError: window.deltaUrlToBlobUrl is not a function at getBlobUrl ((index):222) at [WebSocket.ws.onmessage](WebSocket.ws.onmessage...

2020-02-13 23:32:55 531

原创 TypeError: Super expression must either be null or a function, not undefined

从网上找到的结果大多数是说如下情况:错误:Super expression must either be null or a function, not undefined或者错误:Uncaught (in promise) TypeError: Super expression must either be null or a function一般是 React.Component ...

2020-02-13 10:54:29 17573

原创 XCode 模拟器[iOS Simulator]command+R and D 失效 快捷键没反应

使用iOS模拟器调试React Native项目时,command+R或者command+D失效。请确保模拟器中Hardware-->Keyboard-->Connect Hardware Keyboard勾选☑️了。如下图所示PS:如果点击没有效果,请使用快捷键Command+向上箭头+K,这会弹出一个对话框,直接关闭后尝试Command+D或者R,亲测有效...

2020-02-08 19:50:43 3416

转载 RN 第三方组件集合

react-native-globalize 国际化react-native-create-bridge CLI工具,轻松地桥接React Native模块和UI组件react-native-splash-screen 启动白屏优化react-native-linear-gradient 渐变色react-native-smart-sortable-sudoku-grid 拖拽1r...

2020-02-05 16:23:28 240

转载 React-Native之轮播组件汇总 以及looped-carousel的介绍与使用

React-Native之轮播组件looped-carousel的介绍与使用一,关于react-native轮播组件的介绍与对比 1,react-native-swiper在动态使用网页图片,多张图片时iOS上总是只显示第一张,Android正常显示,支持加载json数组数据。 2,react-native-viewpager,因为轮播时,下面的圆点有时显示会有误,加载上百页数...

2020-02-05 16:03:25 1082

原创 react-native项目中用到的插件库作用注释

至于shelljs插件,官方说明:ShellJS is a portable(Windows/Linux/OS X)implementation of Unix shell commands on top of the Node.js API. You can use it to eliminate your shell script's dependency on Unix...

2020-02-05 15:44:49 379

转载 react-native-deprecated-custom-components

react-native-deprecated-custom-components组件其实是react-native0.44版本之前的Navigator导航组件的移植版,0.44版本后RN将Navigator导航组件放到了react-native-deprecated-custom-components组件中,所以要可以认为他就是导航器前面我介绍过几个常用的内置组件的使用方法,对于一些较...

2020-02-05 15:15:58 1498

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除