05 2017 档案

摘要:对tableView执行删除操作执行后,UIButton的tag值是不会更新的,只有在执行[_tableView reloadData]方法(或滑动列表,这时会调用cellForRowAtIndexPath方法)才能刷新。 所以这时TableViewCell中的button.tag值已经不对了。 获 阅读全文
posted @ 2017-05-18 16:16 听风gcl 阅读(605) 评论(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 阅读(764) 评论(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 阅读(176) 评论(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 阅读(294) 评论(0) 推荐(0)
摘要:在使用 sizeToFit 或 boundingRectWithSize 进行字体自适应,自动计算行高行宽时, 注意: 1.一定要先给label赋值,再自动适应,自动计算宽度高度。 2.attributes标注字体大小等限制信息,才能计算准确。 阅读全文
posted @ 2017-05-03 10:43 听风gcl 阅读(318) 评论(0) 推荐(0)