自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

翻译 利用uiwebview显示GIF动图,并且使其显示全面

// 设定位置和大小CGRect frame = CGRectMake(50,[[UIApplication sharedApplication] statusBarFrame].size.height+44+height(120),200,200);    // view生成    UIWebView *webView = [[UIWebView alloc] initWithFrame:fra...

2018-05-28 09:02:09 1180 1

翻译 iOS开发 如何创建视频缩略图以及如何让缩略图动起来

搜的资料,只为加深,不喜勿喷。    NSString *path = @"xxxxxxxxxxxxxxx";//加载视频地址     MPMoviePlayerController *iosMPMovie = [[MPMoviePlayerController alloc]                                             initWithContentUR...

2018-05-18 08:49:27 724

翻译 react-native Attribute meta-data#android.support.VERSION@value value=(25.3.0) from ...问题

针对以下两个错误 java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper 和 Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25...

2018-04-28 10:55:37 1848 1

翻译 React Native Could not expand ZIP

当遇上Execution failed for task ':folioreader:mergeReleaseAssets'.> java.io.IOException: Could not delete path ''删除添加还有expand时,只需要清理一下就可以:cd android gradlew clean //注意你是powershell还是cmd   如果是cmd那么你需要用...

2018-04-27 08:47:15 855 1

原创 RN中有没有接触过字体样式不一样的时候,很简单就可以搞定

灵感来源于群友+百度   百度连接http://www.hangge.com/blog/cache/detail_1486.htmlView style={[styles.flex, styles.container]}>    Text style={styles.welcome}>       欢迎访问 Imagesource={image} style

2017-12-06 14:01:26 987

转载 RN导入高德地图定位的用法实例

转载自:[译]React Native开源高德地图定位组件(react-native-amap-location) -江清清的技术专栏1.NPM install1npm install relocation --save 2.更新Gradle 设置12345//

2017-12-04 09:29:00 2807

原创 关于<TabNavigator>的item的一些用法 例如传递navigation

_renderTab(Component,selectedTab,title, renderIcon,selectedIcon,position) {    return (        TabNavigator.Item           //设置选中的位置            selected={this.state.selectedTab=== se

2017-12-01 17:26:55 1147

原创 关于RN中FlatList的一些东西,以及FlatList为什么会得到多个只显示几个信息的原因

FlatList                        keyExtractor={ (item,index)=>item.title }//加上这句话后可以少item中key缺失警告,     而且这个title会产生唯一性,不可重复,     如果在得到的json字符串中有多个重复,请修改成没有重复的那个key                        sh

2017-12-01 17:00:39 3265

原创 关于RN中 props的父与子试图的一些简单用法

声明一个顶部导航栏ViewViewstyle = {styles.container}>                 Viewstyle = {{flex:1}}>View>                 Viewstyle = {{flex:1,flexDirection:'row'}}>                    Views

2017-12-01 16:50:46 381

原创 调用系统的打电话,发短信,系统浏览器,发送邮件的功能

导入linking库 然后在调用的方法里面+renderSystem = (url)=> {        Linking.canOpenURL(url).then(supported=> {                      if (!supported) {                        console.log('Can\'t handl

2017-12-01 16:37:21 358

转载 RN好用的一个第三方

https://github.com/rilyu/teaset/blob/master/docs/cn/README.md

2017-12-01 14:29:29 2121

转载 RN中,你还在担心怎么传Json文件给服务器?来看看Json内容吧

http://www.cnblogs.com/damonlan/archive/2012/03/13/2394787.html   写的很好的一篇文章,这篇文章给了启发,写的Json格式的参数;

2017-10-12 15:16:07 1467

翻译 RN中的navigation的使用方式 demo

在终端中下载下来相关联的依赖库npm install react-navigation --save  运行时npm install导入头  然后看代码/**  index.android.js* Sample React Native App* https://github.com/facebook/react-native* @flow*/

2017-09-12 16:12:57 1602

原创 RN的一些坑,本人小白记录下学习RN遇到的问题加textinput值的取出

自己摘要

2017-09-12 15:52:59 1241

空空如也

空空如也

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

TA关注的人

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