|
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 |
UITableViewHeaderFooterView can't change custom background when loading from nib
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Jq-change(fontsize,background)
change(fn)在每一个匹配元素的change事件中绑定一个处理函数。.
html css ajax jquery 背景颜色