摘要: IOS App所有字体被放大,显示效果发虚小小程序猿我的博客:http://daycoding.com 分析原因:由于新版本上线更换了LaunchImage,没有注意美工给的图片尺寸,由于图片尺寸不符合标准导致程序在真机上运行所有字体被放大显示发虚解决:将LaunchImage的所有尺寸按照要求从新剪裁设置即可。 阅读全文
posted @ 2016-05-09 19:19 coolwxb 阅读(417) 评论(0) 推荐(0) 编辑
摘要: title: SDWebImage添加headerdate: 2016-03-07 17:32:57tags: SDWebImagecategories: IOSkeywords: SDWebImage,header服务端采用阿里OSS设置了图片的访问限制,需要在请求图片的路径中添加自定义header:Refer:xxxxxxx,所以需要设置SDWebImage的配置SDWebImageDownl... 阅读全文
posted @ 2016-03-07 20:37 coolwxb 阅读(751) 评论(0) 推荐(0) 编辑
摘要: title: UIViewController 相关知识date: 2015-12-13 11:50categories: IOStags: UIViewController小小程序猿我的博客:http://daycoding.com UiViewController pushController切换出现卡顿原因:导致卡顿的的罪魁祸首就是UIViewController的View的默认color为... 阅读全文
posted @ 2016-03-05 10:19 coolwxb 阅读(112) 评论(0) 推荐(0) 编辑
摘要: title: UIWindow相关知识date: 2016-1-21 20:50categories: IOStags: UIWindow小小程序猿我的博客:http://daycoding.com 获取屏幕window[UIApplication sharedApplication].keyWindow]屏幕上手势监听问题:设计弹出层使用window来实现,对item的背景设置了tap事件,并设... 阅读全文
posted @ 2016-03-05 10:18 coolwxb 阅读(150) 评论(0) 推荐(0) 编辑
摘要: title: UINavigationController 相关知识date: 2016-1-23 15:07categories: IOStags: UINavigationController小小程序猿我的博客:http://daycoding.com UINavigationController 调整controller的顺序业务场景:有时候我们需要调整UINavigationControl... 阅读全文
posted @ 2016-03-05 10:17 coolwxb 阅读(137) 评论(0) 推荐(0) 编辑
摘要: title: 百度地图经常崩溃的问题date: 2015-11-14 11:23:45categories: IOStags: 地图无忧小小程序猿我的博客:http://daycoding.com 问题:百度地图文档上说是要在使用地图的viewController的声明周期函数中调用以下方法: (void)viewWillAppear:(BOOL)animated { ... 阅读全文
posted @ 2016-03-04 17:08 coolwxb 阅读(1544) 评论(0) 推荐(0) 编辑
摘要: title: Mou常用快捷键date: 2015-11-08 17:16:38categories: 编辑工具tags: mou小小程序猿我的博客:http://daycoding.com View显示预览窗口 Toggle live preview: Shift + Cmd + I显示字数 Toggle Words Counter: Shift + Cmd + W将当前窗口设置为透明窗口 To... 阅读全文
posted @ 2016-03-04 16:20 coolwxb 阅读(496) 评论(0) 推荐(0) 编辑
摘要: title: 百度加载策略date: 2015-11-14 11:05:30categories: IOStags: baidusdk小小程序猿我的博客:http://daycoding.com 地图上加载海量点? 1. 网络不好的时候加载慢 2. 用户流量耗费较多 3. 内存使用高,使用比较卡原因:数据量过大时json解析耗时(必要)生成百度annotation耗时(必要)下载自定义图标耗时(... 阅读全文
posted @ 2016-03-04 16:17 coolwxb 阅读(182) 评论(0) 推荐(0) 编辑
摘要: title: SQLITE 数据类型date: 2015-11-20 20:30:52categories: IOStags: sqlite数据类型小小程序猿我的博客:http://daycoding.com SQLITE 数据类型一般数据采用的固定的静态数据类型,而SQLite采用的是动态数据类型,会根据存入值自动判断。SQLite具有以下五种数据类型:NULL:空值。INTEGER:带符号的... 阅读全文
posted @ 2016-03-04 14:25 coolwxb 阅读(317) 评论(0) 推荐(0) 编辑
摘要: title: Mac ping localhost 地址变化date: 2016-1-15 16:21:55categories: IOStags: mac 小小程序猿我的博客:http://daycoding.com ping localhost 地址被转向使用Android studio 模拟器编译代码,死活报错,检查原因是代码中有创建soceket方法,访问本机地址127.0.0.1,... 阅读全文
posted @ 2016-03-04 14:24 coolwxb 阅读(438) 评论(0) 推荐(0) 编辑