摘要: 解决:bitcode enable设为NO 阅读全文
posted @ 2017-07-01 11:08 听风gcl 阅读(82) 评论(0) 推荐(0) 编辑
摘要: defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件 defaults write com.apple.finder AppleShowAllFiles No && killall Finde 阅读全文
posted @ 2017-06-05 17:59 听风gcl 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 对tableView执行删除操作执行后,UIButton的tag值是不会更新的,只有在执行[_tableView reloadData]方法(或滑动列表,这时会调用cellForRowAtIndexPath方法)才能刷新。 所以这时TableViewCell中的button.tag值已经不对了。 获 阅读全文
posted @ 2017-05-18 16:16 听风gcl 阅读(598) 评论(0) 推荐(0) 编辑
摘要: Guideline 5.1.5 - Legal Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required 阅读全文
posted @ 2017-05-10 10:17 听风gcl 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 一、github 二、hexo 1.安装 hexo (1)安装: npm install -g hexo (2)初始化: hexo init <folder> (3)生成静态页: hexo generate (4)本地启动:hexo server 本地输入:http://localhost:4000 阅读全文
posted @ 2017-05-08 14:02 听风gcl 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 如果想要在后台保持蓝牙持续连接,需要在info.plist文件中, Required background modes 加入: 1.App shares data using CoreBluetooth 2.App communicates using CoreBluetooth 阅读全文
posted @ 2017-05-03 16:31 听风gcl 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 在使用 sizeToFit 或 boundingRectWithSize 进行字体自适应,自动计算行高行宽时, 注意: 1.一定要先给label赋值,再自动适应,自动计算宽度高度。 2.attributes标注字体大小等限制信息,才能计算准确。 阅读全文
posted @ 2017-05-03 10:43 听风gcl 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 清空路径 /Users/mac name/.cocoapods ,重新 pod install。 阅读全文
posted @ 2017-04-26 15:58 听风gcl 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 当tableViewStyle为UITableViewStylePlain时,但是又按照group的方式进行了分组,就会出现最后一个section的最后一行出现分割线,以下有两种解决方式: 1.将表格style修改为UITableViewStyleGroup 2.多加一个分区,设置多加的一个分区的表 阅读全文
posted @ 2017-04-26 15:24 听风gcl 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 可以设置分割线的高度并填充颜色。 阅读全文
posted @ 2017-04-26 10:48 听风gcl 阅读(191) 评论(0) 推荐(0) 编辑