摘要:
给Xcode命令行工具指定路径 sudo xcode-select --switch /Applications/Xcode.app 其他命令参考 $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ //查 阅读全文
摘要:
将代码放在index.js 中 AppRegistry.registerComponent('App', () => App)之前 //关闭其中某些yellow警告 console.ignoredYellowBox = ['Warning: BackAndroid is deprecated. Pl 阅读全文
摘要:
reactnative中没有双击事件,只能通过setTimeout实现 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <button id='btn'>click me</but 阅读全文
摘要:
https://github.com/yamill/react-native-orientation 阅读全文
摘要:
6版本以上的react-native会自动引入包,不需要手动link 只需在AndroidManifest.xml加入权限即可 <uses-permission android:name="android.permission.INTERNET" /> <uses-permission androi 阅读全文
摘要:
react-native@0.59.10 1.install npm install react-navigation@2.18.2 2.in App.js import React from 'react'; import { View, Text, Button } from 'react-na 阅读全文
摘要:
1.安装 npm install --save react-native-vector-icons 2.配置: Android: 方法1: react-native link react-native-vector-icons 方法2: 在android/app/build.gradle 第二行添加 阅读全文
摘要:
https://blog.csdn.net/u011311291/article/details/87923540 阅读全文
摘要:
nodejs-websocket是nodejs的websocket模块 服务端: var ws = require('nodejs-websocket'); var wsPort = 3000; var peers = []; var server = ws.createServer(functio 阅读全文
摘要:
https://www.cnblogs.com/Taskr212/p/11228210.html 阅读全文