jackyshan

导航

 

2016年4月6日

摘要: 现象:代码在simulator上能够正常运行但是在真机上出现 Assertion failure in [UIView layoutSublayersOfLayer:], /SourceCache/UIKit/UIKit 2935.137/UIView.m:8803 (ios7系统) 解决方法: 在 阅读全文
posted @ 2016-04-06 14:20 jackyshan 阅读(176) 评论(0) 推荐(0) 编辑
 

2016年3月25日

摘要: _获取七牛token的时候deadline不能为NSString类型_ NSDictionary infoDic = @{@"scope":@"yangtao", @"deadline":@(deadline.integerValue)};//infoDic 阅读全文
posted @ 2016-03-25 11:03 jackyshan 阅读(763) 评论(0) 推荐(0) 编辑
 

2016年3月24日

摘要: 解决方法 模拟器左上角点击 reset content and setttiongs 阅读全文
posted @ 2016-03-24 10:47 jackyshan 阅读(494) 评论(0) 推荐(0) 编辑
 
摘要: 解决方法 阅读全文
posted @ 2016-03-24 10:14 jackyshan 阅读(581) 评论(0) 推荐(0) 编辑
 

2016年2月18日

摘要: 问题 Undefined symbols for architecture arm64: "_PKPaymentNetworkChinaUnionPay", referenced from: [UPAInitViewController startAPPay] in libUPAPayPlugin. 阅读全文
posted @ 2016-02-18 18:15 jackyshan 阅读(660) 评论(0) 推荐(0) 编辑
 

2016年1月25日

摘要: 获取版本号代码 / 获取版本号 @return 当前应用的版本号 / public static String getVersion(Context context) { try { PackageManager manager = context.getPackageMana... 阅读全文
posted @ 2016-01-25 14:53 jackyshan 阅读(506) 评论(0) 推荐(0) 编辑
 

2016年1月22日

摘要: 传值代码块 //Serializeable传递对象的方法 public void SerializeMethod(){ Person mPerson = new Person(); mPerson.setName("frankie"); mPerson.setAge(25); ... 阅读全文
posted @ 2016-01-22 18:16 jackyshan 阅读(282) 评论(0) 推荐(0) 编辑
 
摘要: 复制shell脚本 !/bin/bash for i in do for imgname in do echo $imgname cp $i/$imgname 目录/app/src/main/res/mipmap hdpi/recipes/$img... 阅读全文
posted @ 2016-01-22 14:51 jackyshan 阅读(205) 评论(0) 推荐(0) 编辑
 
摘要: icon_ios.sh !/bin/sh convert icon 1024.png resize 180x180 icon 180@3x.png convert icon 1024.png resize 152x152 icon 152@2x.png convert icon... 阅读全文
posted @ 2016-01-22 14:20 jackyshan 阅读(254) 评论(0) 推荐(0) 编辑
 
摘要: activeandroid no such table "解决activeandroid no such table" failed to read row 0 column 1 from a cursorwindow which 原因是没有添加主键id @Table(na... 阅读全文
posted @ 2016-01-22 13:26 jackyshan 阅读(184) 评论(0) 推荐(0) 编辑