会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
听风gcl
再远的路,只要一步一步走,总会到达
博客园
首页
新随笔
联系
订阅
管理
2017年7月1日
错误:linker command failed with exit code 1 (use -v to see invocation)
摘要: 解决:bitcode enable设为NO
阅读全文
posted @ 2017-07-01 11:08 听风gcl
阅读(86)
评论(0)
推荐(0)
2017年6月5日
mac 显示隐藏文件
摘要: 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
阅读(144)
评论(0)
推荐(0)
2017年5月18日
iOS 不要使用tag传递TableViewCell的indexPath值
摘要: 对tableView执行删除操作执行后,UIButton的tag值是不会更新的,只有在执行[_tableView reloadData]方法(或滑动列表,这时会调用cellForRowAtIndexPath方法)才能刷新。 所以这时TableViewCell中的button.tag值已经不对了。 获
阅读全文
posted @ 2017-05-18 16:16 听风gcl
阅读(603)
评论(0)
推荐(0)
2017年5月10日
iOS background location
摘要: 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
阅读(761)
评论(0)
推荐(0)
2017年5月8日
github+hexo 搭建个站
摘要: 一、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
阅读(172)
评论(0)
推荐(0)
2017年5月3日
iOS CoreBluetooth
摘要: 如果想要在后台保持蓝牙持续连接,需要在info.plist文件中, Required background modes 加入: 1.App shares data using CoreBluetooth 2.App communicates using CoreBluetooth
阅读全文
posted @ 2017-05-03 16:31 听风gcl
阅读(291)
评论(0)
推荐(0)
ios sizeToFit & boundingRectWithSize
摘要: 在使用 sizeToFit 或 boundingRectWithSize 进行字体自适应,自动计算行高行宽时, 注意: 1.一定要先给label赋值,再自动适应,自动计算宽度高度。 2.attributes标注字体大小等限制信息,才能计算准确。
阅读全文
posted @ 2017-05-03 10:43 听风gcl
阅读(314)
评论(0)
推荐(0)
2017年4月26日
ios cocoapods 多个master 问题解决方法
摘要: 清空路径 /Users/mac name/.cocoapods ,重新 pod install。
阅读全文
posted @ 2017-04-26 15:58 听风gcl
阅读(409)
评论(0)
推荐(0)
iOS tableView 去除最后一行 分割线separator
摘要: 当tableViewStyle为UITableViewStylePlain时,但是又按照group的方式进行了分组,就会出现最后一个section的最后一行出现分割线,以下有两种解决方式: 1.将表格style修改为UITableViewStyleGroup 2.多加一个分区,设置多加的一个分区的表
阅读全文
posted @ 2017-04-26 15:24 听风gcl
阅读(679)
评论(0)
推荐(0)
iOS tableView 自定义sepatator
摘要: 可以设置分割线的高度并填充颜色。
阅读全文
posted @ 2017-04-26 10:48 听风gcl
阅读(195)
评论(0)
推荐(0)
下一页
公告