UITableViewHeaderFooterView can't change custom background when loading from nib
|
I've created a custom UITableViewHeaderFooterView and successfully load from nib into my UITableView but always get this message
Here the code for loading my custom UITableViewHeaderFooterView:
} answer: Did you set the "Background Color" attribute on the footer view in your nib? If so, set that to "Default". Also you may want to consider doing
and not setting the backgroundColor at all. This is Apple's preferred method according tohttps://developer.apple.com/library/ios/documentation/uikit/reference/UITableViewHeaderFooterView_class/Reference/Reference.html#//apple_ref/occ/instp/UITableViewHeaderFooterView/backgroundView from:http://stackoverflow.com/questions/18800743/uitableviewheaderfooterview-cant-change-custom-background-when-loading-from-nib |
最新文章
- javascript入门:prototype和面向对象的实现
- Sublime text 3安装svn插件
- QQLogin
- hdu 4722 Good Numbers 数位DP
- Android教程说明-夜神模拟器连接IDE更新让Delphi发现你的手机或夜神模拟器
- 结构体的malloc与数组空间
- ubuntu系统安装的MySql数据库,远程不能访问的几种可能问题
- Java提高学习之Object(4)
- CSS3 总结-2
- 模板 manacher算法
- 在web应用中使用Log4j 2
- Golang 入门 : 映射(map)
- SQL 撤销索引、表以及数据库
- Mybatis SqlsessionFactory
- HDU - 4389 X mod f(x)(数位dp)
- There is no session with id XXX
- 由设置body线性背景色引发的问题-----当声明文档类型时,对body设置线性背景色,页面背景色无法整体线性过渡
- 【日常记录】【unity3d】 OnTriggerEnter 和 OnCollisionEnter (2D) 的区别
- NOIP模拟题 友好国度
- GIF助手激活教程(购买+激活)图文版