【ReactNative】
文章平均质量分 56
Teng的世界
北京奇迹部落网络科技有限公司MiracleStudio成员
展开
-
【ReactNative】react-native 布局
react-native 布局1 flex布局基本概念flex是Flexible Box的缩写,意为"弹性布局",用来为盒状模型提供最大的灵活性。采用flex布局的元素,称为flex容器(flex container),简称"容器"。它的所有子元素自动成为容器成员,称为flex项目(flex item),简称"项目"。如下图所示:容器默认存在两根轴:主轴(mai转载 2016-07-10 12:28:32 · 6599 阅读 · 0 评论 -
【ReactNative】undefined is not an object(evaluating 'this.props.navigator')
使用ReactNative 用NavigatorIOS做跳转时,遇到报错:undefined is not an object(evaluating 'this.props.navigator')代码如下:/** * 003.网易新闻 */import React, { Component } from 'react';import { AppRegistry, S原创 2016-06-15 17:28:32 · 11359 阅读 · 0 评论 -
【React-Native】学习指南
React-Native学习指南http://blog.csdn.net/yczz/article/details/50721829DecoIDE开发工具https://www.decosoftware.com/?r=QMEgShttp://www.jikexueyuan.com/course/reactnative/原创 2016-06-22 09:31:57 · 487 阅读 · 0 评论 -
【ReactNative】真机上无法调试 could not connect to development server
ReactNative 版本 0.27.2 真机调试,一直红屏,报错could not connect to development server检测流程:1.工程目录npm start OK2.AppDelegate.m的localhost换成PC上的IP地址 192.168.0.103,且PC上的地址和手机上的同一局域网 OK3.xcode提示原创 2016-07-21 22:51:54 · 9485 阅读 · 1 评论 -
【ReactNative/JS】uint8array转string convert uint8array to string
客户端/服务器使用的protobuffer交互,客户端收到的是uint8array,面临着从unit8array转string,我使用的是下面的Crossplatform methodWorking with node.js or other javascript platforms (multioperability), you'll find that some metho转载 2016-07-22 00:50:33 · 5817 阅读 · 2 评论 -
【ReactNative】全局错误捕捉与处理
转载自:http://bbs.reactnative.cn/topic/627/%E9%94%99%E8%AF%AF%E6%8D%95%E6%8D%89%E4%B8%8E%E5%A4%84%E7%90%86经常使用发行包进行测试的开发者们可能会发现,在发行版本中,如果出现了脚本错误,还是会直接闪退。我们可能会希望捕获这种错误,给予用户合理的提示,并采集错原创 2016-08-01 19:13:34 · 5526 阅读 · 0 评论 -
【ReactNative】代码学习(一)
// 代码分析:https://github.com/bartonhammond/snowflake/** 1.定制控件参数来区分显示内容 2.过关开关来调用jsx标签变量**//** * Get the appropriate message for the current action * @param messageType FORGOT_PASSWORD, o原创 2016-09-07 08:52:12 · 882 阅读 · 0 评论