上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: 给Xcode命令行工具指定路径 sudo xcode-select --switch /Applications/Xcode.app 其他命令参考 $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ //查 阅读全文
posted @ 2020-07-18 11:56 _DC 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 将代码放在index.js 中 AppRegistry.registerComponent('App', () => App)之前 //关闭其中某些yellow警告 console.ignoredYellowBox = ['Warning: BackAndroid is deprecated. Pl 阅读全文
posted @ 2020-07-05 18:07 _DC 阅读(352) 评论(0) 推荐(0) 编辑
摘要: reactnative中没有双击事件,只能通过setTimeout实现 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <button id='btn'>click me</but 阅读全文
posted @ 2020-06-29 11:13 _DC 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: https://github.com/yamill/react-native-orientation 阅读全文
posted @ 2020-06-21 22:26 _DC 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 6版本以上的react-native会自动引入包,不需要手动link 只需在AndroidManifest.xml加入权限即可 <uses-permission android:name="android.permission.INTERNET" /> <uses-permission androi 阅读全文
posted @ 2020-06-11 14:47 _DC 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-06-11 10:29 _DC 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1.安装 npm install --save react-native-vector-icons 2.配置: Android: 方法1: react-native link react-native-vector-icons 方法2: 在android/app/build.gradle 第二行添加 阅读全文
posted @ 2020-06-11 10:09 _DC 阅读(535) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u011311291/article/details/87923540 阅读全文
posted @ 2020-06-09 20:36 _DC 阅读(473) 评论(0) 推荐(0) 编辑
摘要: nodejs-websocket是nodejs的websocket模块 服务端: var ws = require('nodejs-websocket'); var wsPort = 3000; var peers = []; var server = ws.createServer(functio 阅读全文
posted @ 2020-05-27 11:00 _DC 阅读(1963) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/Taskr212/p/11228210.html 阅读全文
posted @ 2020-05-20 11:21 _DC 阅读(1246) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页