- 博客(6)
- 收藏
- 关注
原创 React Native布局篇总结
总结react 宽度基于pt为单位, 可以通过Dimensions 来获取宽高,PixelRatio 获取密度,如果想使用百分比,可以通过获取屏幕宽度手动计算。基于flex的布局view默认宽度为100%水平居中用alignItems, 垂直居中用justifyContent基于flex能够实现现有的网格系统需求,且网格能够各种嵌套无bug图片布局
2017-03-17 18:26:11 816
原创 Github上传文件大小限制-Yowl,that's a big file. Try again with a file smaller than 25MB.
报错信息:通过拖拽文件的方式已经不能成功上传源码,那么可以通过用git push的方法来上传源码到github中。请看详细步骤:1. 首先安装git:http://blog.csdn.net/helinlin007/article/details/50358633安装过程中的报错:解决办法:mac->系统偏好设置->安全性与隐私->信任。
2017-03-17 17:37:26 10499 2
原创 Xcode报错之SpringBoard was unable to service the request.
Xcode报错信息:xcode 8.0 beta 运行模拟器报错SpringBoard was unable to service the request.大神解决方法:Problem solved for by an Apple Engineer in the lab. It's an issue they're working on. The botto
2017-03-17 16:42:26 654
原创 React Native动画-Animated
核心API大部分你需要的东西都来自Animated模块。它包括两个值类型,Value用于单个的值,而ValueXY用于向量值;还包括三种动画类型,spring,decay,还有timing,以及三种组件类型,View,Text和Image。你可以使用Animated.createAnimatedComponent方法来对其它类型的组件创建动画。这三种动画类型可以用来创建几乎任何你需
2017-03-16 15:31:56 776
转载 React Native 之 flexbox 布局详解篇
本文详情本文讲解React Native中的布局,该布局用CSS的flex布局,掌握了这个布局对后面RN应用的开发用途非常之大。本文由 showCar 投稿(点击 阅读原文 )。文章地址: http://blog.csdn.net/u0144868801.常用属性RN的flexbox主要有以下几个属性alignItems,alignSelf,flex,flexDirecti
2017-03-09 18:42:55 513
原创 文本输入框TextInput的属性列表
参考:TextInput属性名称类型意义默认值autoCapitalizeenum(‘none’, ‘sentences’, ‘words’, ‘characters’)针对哪种类型自动大小写无autoCorrectbool自动更正trueau
2017-03-01 11:59:59 1269
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人